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

16 lines
373 B
Python

from vsg.rules import case_item_rule
from vsg.token import entity_declaration as token
class rule_008(case_item_rule):
'''
Checks the entity identifier has proper case.
'''
def __init__(self):
case_item_rule.__init__(self, 'entity', '008', token.identifier)
self.regionBegin = token.identifier
self.regionEnd = token.identifier