13 lines
320 B
Python
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.'
|