vhdl-style-guide/vsg/rules/null_statement/rule_300.py

32 lines
514 B
Python

# -*- coding: utf-8 -*-
from vsg import token
from vsg.rules import token_indent as Rule
lTokens = []
lTokens.append(token.null_statement.label)
lTokens.append(token.null_statement.null_keyword)
class rule_300(Rule):
"""
This rule checks the indentation of the **null** keyword.
**Violation**
.. code-block:: vhdl
null;
end loop;
**Fix**
.. code-block:: vhdl
null;
end loop;
"""
def __init__(self):
super().__init__(lTokens)