* Issue#1117 Modifed initialisation of the `Rule` class's `identifier` property to reduce duplication. * Issue#1117 Modifed initialisation of the `Rule` class's `unique_id` property to make the `identifier` input redundant. * Issue#1117: Updated Rule.name attribute to be initialised from the class's `__module__` variable. Modified `deprecated_rule` to not initialise `name` and `identifier` attributes. Modified rule_localized_001 to force the local rule's `name` since this can't be extracted from the module. Modified test_rule to force Rule's `name`, `identifier` and `unique_id` in some tests. * Issue#1117: Removed now-redundant name and identifier input arguments on rule `__init__` methods. Updated rule_localized_001 to force the rule's name. Update the local rules documentation. * Issue#1117: Removed unused exception in get_rule_name. * Issue#1117: Updates after merging master. * Converting match case to if statement to support python pre version 3.10Converting match case to if statement to support python pre version 3.10. --------- Co-authored-by: Jeremiah Leary <jeremiah.c.leary@gmail.com> |
||
|---|---|---|
| .. | ||
| interfaces | ||
| report | ||
| rule_group | ||
| rules | ||
| styles | ||
| tests | ||
| token | ||
| vhdlFile | ||
| CustomArgumentParser.py | ||
| __init__.py | ||
| __main__.py | ||
| __parser__.py | ||
| __rule_doc_gen__.py | ||
| apply_rules.py | ||
| block_rule.py | ||
| cmd_line_args.py | ||
| config.py | ||
| deprecated_rule.py | ||
| exceptions.py | ||
| install.py | ||
| junit.py | ||
| parser.py | ||
| prerequisite.py | ||
| proposed_rule.py | ||
| rule.py | ||
| rule_list.py | ||
| severity.py | ||
| token_map.py | ||
| tokens.py | ||
| utils.py | ||
| version.py | ||
| violation.py | ||