vhdl-style-guide/vsg/rules/case/rule_017.py

13 lines
329 B
Python

from vsg.rules import lower_case_rule
class rule_017(lower_case_rule):
'''
Entity rule 017 checks the end keyword is lower case in "end case".
'''
def __init__(self):
lower_case_rule.__init__(self, 'case', '017', 'isEndCaseKeyword', 'end')
self.solution = 'Change "end" keyword to lowercase.'