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

12 lines
301 B
Python

from vsg.rules import indent_rule
class rule_008(indent_rule):
'''
Function rule 008 checks the indent of function parameters when they are on multiple lines.
'''
def __init__(self):
indent_rule.__init__(self, 'function', '008', 'isFunctionParameter', 'isFunctionKeyword')