vhdl-style-guide/vsg/rules/loop_statement/rule_203.py

31 lines
534 B
Python

# -*- coding: utf-8 -*-
from vsg.rules import blank_line_below_line_ending_with_token
from vsg.token import loop_statement as token
class rule_203(blank_line_below_line_ending_with_token):
"""
This rule checks for blank lines below the **end loop** keywords.
|configuring_blank_lines_link|
**Violation**
.. code-block:: vhdl
end loop;
a <= b;
**Fix**
.. code-block:: vhdl
end loop;
a <= b;
"""
def __init__(self):
super().__init__([token.semicolon])