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

14 lines
292 B
Python

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