vhdl-style-guide/vsg/rules/entity_specification/rule_101.py

16 lines
350 B
Python

from vsg import token
from vsg.rules import whitespace_before_token
lTokens = []
lTokens.append(token.entity_specification.colon)
class rule_101(whitespace_before_token):
'''
Checks for a single space before the colon
'''
def __init__(self):
whitespace_before_token.__init__(self, 'entity_specification', '101', lTokens)