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

13 lines
319 B
Python

from vsg.rules import lower_case_rule
class rule_002(lower_case_rule):
'''
Signal rule 002 checks the "variable" keyword is lowercase.
'''
def __init__(self):
lower_case_rule.__init__(self, 'variable', '002', 'isVariable', 'variable')
self.solution = 'Lowercase "variable" keyword.'