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

13 lines
320 B
Python

from vsg.rules import indent_rule
class rule_001(indent_rule):
'''
For loop rule 001 checks for the proper indentation at the beginning of the line.
'''
def __init__(self):
indent_rule.__init__(self, 'for_loop', '001', 'isForLoopKeyword')
self.solution = 'Ensure proper indentation.'