vhdl-style-guide/vsg/rules/component/rule_003.py

15 lines
344 B
Python

from vsg.rules import line_above_rule
class rule_003(line_above_rule):
'''
Component rule 003 checks for a blank line above the component keyword.
'''
def __init__(self):
line_above_rule.__init__(self)
self.name = 'component'
self.identifier = '003'
self.condition = 'isComponentDeclaration'