* 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| rule_001.py | ||
| rule_002.py | ||
| rule_003.py | ||
| rule_004.py | ||
| rule_005.py | ||
| rule_006.py | ||
| rule_007.py | ||
| rule_008.py | ||
| rule_009.py | ||
| rule_010.py | ||
| rule_013.py | ||
| rule_014.py | ||
| rule_016.py | ||
| rule_017.py | ||
| rule_018.py | ||
| rule_019.py | ||
| rule_020.py | ||
| rule_021.py | ||
| rule_600.py | ||