vhdl-style-guide/vsg/rules/process/rule_011.py

34 lines
697 B
Python

from vsg.rules import blank_line_below_line_ending_with_token
from vsg import token
lTokens = []
lTokens.append(token.process_statement.semicolon)
class rule_011(blank_line_below_line_ending_with_token):
'''
This rule checks for a blank line below the **end process** keyword.
Refer to `Configuring Blank Lines <configuring.html#configuring-blank-lines>`_ for options.
**Violation**
.. code-block:: vhdl
end process proc_a;
wr_en <= wr_en;
**Fix**
.. code-block:: vhdl
end process proc_a;
wr_en <= wr_en;
'''
def __init__(self):
blank_line_below_line_ending_with_token.__init__(self, 'process', '011', lTokens)