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

11 lines
236 B
Python

from vsg.rules import indent_rule
class rule_001(indent_rule):
'''
Checks the indent level of the "while" keyword.
'''
def __init__(self):
indent_rule.__init__(self, 'while_loop', '001', 'isWhileLoopKeyword')