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

14 lines
307 B
Python

from vsg.rules import token_indent
from vsg.token import architecture_body as token
class rule_008(token_indent):
'''
Architecture rule 008 checks the indent of the *begin* keyword.
'''
def __init__(self):
token_indent.__init__(self, 'architecture', '008', [token.end_keyword])