24 lines
558 B
Python
24 lines
558 B
Python
|
|
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, name, identifier):
|
|
rule.Rule.__init__(self, name=name, identifier=identifier)
|
|
self.phase = 1
|
|
self.groups.append('structure')
|
|
self.configuration_documentation_link = 'configuring_simple_multiline_structure_rules_link'
|