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

13 lines
295 B
Python

from vsg.rules import indent_item_rule
from vsg.token import context_declaration as token
class rule_001(indent_item_rule):
'''
Checks for indent on the context keyword.
'''
def __init__(self):
indent_item_rule.__init__(self, 'context', '001', token.context_keyword)