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

13 lines
272 B
Python

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