vhdl-style-guide/vsg/rules/attribute_declaration/rule_100.py

17 lines
419 B
Python

from vsg import token
from vsg.rules import single_space_after_token
lTokens = []
lTokens.append(token.attribute_declaration.attribute_keyword)
lTokens.append(token.attribute_declaration.colon)
class rule_100(single_space_after_token):
'''
Checks for a single spaces between keywords.
'''
def __init__(self):
single_space_after_token.__init__(self, 'attribute_declaration', '100', lTokens)