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

12 lines
290 B
Python

from vsg.rules import indent_item_rule
from vsg.token import entity_declaration as token
class rule_001(indent_item_rule):
'''
Checks for indent of the entity keyword.
'''
def __init__(self):
indent_item_rule.__init__(self, 'entity', '001', token.entity_keyword)