vhdl-style-guide/vsg/rules/variable/rule_005.py

13 lines
388 B
Python

from vsg.rules import single_space_after_character_rule
class rule_005(single_space_after_character_rule):
'''
Variable rule 005 checks there is a single space after the colon.
'''
def __init__(self):
single_space_after_character_rule.__init__(self, 'variable', '005', 'isVariable', ':')
self.solution = 'Ensure only a variable space after the colon.'