vhdl-style-guide/vsg/rule_group/structure.py

25 lines
524 B
Python

# -*- coding: utf-8 -*-
from vsg import rule
class Rule(rule.Rule):
"""
Class for assigning rules to the structure group.
Parameters
----------
name : string
The group the rule belongs to.
identifier : string
unique identifier. Usually in the form of 00N.
"""
def __init__(self):
super().__init__()
self.phase = 1
self.groups.append("structure")
self.configuration_documentation_link = "configuring_simple_multiline_structure_rules_link"