vhdl-style-guide/vsg/rules/function/rule_007.py

15 lines
332 B
Python

from vsg.rules import line_below_rule
class rule_007(line_below_rule):
'''
Function rule 007 enforces a blank line below the "function" keyword.
'''
def __init__(self):
line_below_rule.__init__(self)
self.name = 'function'
self.identifier = '007'
self.condition = 'isFunctionEnd'