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

14 lines
384 B
Python

from vsg.rules import case_rule
from vsg import utils
class rule_004(case_rule):
'''
Variable rule 004 checks the variable identifiers have proper case.
'''
def __init__(self):
case_rule.__init__(self, 'variable', '004', 'isVariable', utils.extract_class_identifier_list)
self.solution = 'Change variable identifiers name to ' + self.case + 'case'