24 lines
545 B
Python
24 lines
545 B
Python
|
|
from vsg import rule
|
|
|
|
|
|
class Rule(rule.Rule):
|
|
'''
|
|
Class for assigning rules to the case 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 = 6
|
|
self.groups.append('case')
|
|
self.configuration_documentation_link = 'configuring_uppercase_and_lowercase_rules_link'
|