vhdl-style-guide/vsg/rules/entity/rule_014.py

16 lines
398 B
Python

from vsg.rules import case_item_rule
from vsg.token import entity_declaration as token
class rule_014(case_item_rule):
'''
Checks the end entity keyword has proper case.
'''
def __init__(self):
case_item_rule.__init__(self, 'entity', '014', token.end_entity_keyword)
self.regionBegin = token.end_entity_keyword
self.regionEnd = token.end_entity_keyword