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

12 lines
225 B
Python

from vsg.rules import indent_rule
class rule_001(indent_rule):
'''
If rule 001 checks the indent of the "if" keyword.
'''
def __init__(self):
indent_rule.__init__(self, 'if', '001', 'isIfKeyword')