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

14 lines
359 B
Python

from vsg.rules import case_rule
from vsg import utils
class rule_002(case_rule):
'''
Signal rule 002 checks the "variable" keyword has proper case.
'''
def __init__(self):
case_rule.__init__(self, 'variable', '002', 'isVariable', utils.extract_class_name)
self.solution = 'Change variable keyword to ' + self.case + 'case'