vhdl-style-guide/vsg/rules/process/rule_008.py

17 lines
389 B
Python

from vsg.rules import case_rule
from vsg import utils
class rule_008(case_rule):
'''
Process rule 008 checks the "end" keyword has proper case.
'''
def __init__(self):
case_rule.__init__(self, 'process', '008', 'isEndProcess')
self.solution = 'Change "end" keyword to '
def _extract(self, oLine):
return utils.extract_words(oLine, ['end'])