vhdl-style-guide/vsg/rules/constant/rule_003.py

12 lines
306 B
Python

from vsg.rules import single_space_after_rule
class rule_003(single_space_after_rule):
'''
Constant rule 003 checks there is a single space after the "constant" keyword.
'''
def __init__(self):
single_space_after_rule.__init__(self, 'constant', '003', 'isConstant', 'constant')