vhdl-style-guide/vsg
JHertz5 431cdb92c5
Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118)
* 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>
2024-02-04 15:23:23 -06:00
..
interfaces Issue#1000: Adding --force_fix option to apply fixes to files with syntax errors. (#1021) 2023-11-06 16:37:27 -06:00
report
…
rule_group Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
rules Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
styles Issue#1103: Adding structure rules for subprogram specifications. (#1108) 2024-01-27 09:35:04 -06:00
tests Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
token Issue#1065: Adding 'require_blank_line_unless_pragma' to blank line rules (#1068) 2023-12-17 16:59:55 -06:00
vhdlFile Issue#551: Fixing scoping of consistent token case rules. (#1052) 2024-01-21 12:36:29 -06:00
CustomArgumentParser.py
…
__init__.py
…
__main__.py Issue#1054: Adding classification of pragmas. (#1056) 2023-12-03 21:09:52 -06:00
__parser__.py Issue#1061: Updates for pragma use cases (#1063) 2023-12-12 06:41:06 -06:00
__rule_doc_gen__.py
…
apply_rules.py Issue#1054: Adding classification of pragmas. (#1056) 2023-12-03 21:09:52 -06:00
block_rule.py Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
cmd_line_args.py Issue#1000: Adding --force_fix option to apply fixes to files with syntax errors. (#1021) 2023-11-06 16:37:27 -06:00
config.py Issue#1065: Adding 'require_blank_line_unless_pragma' to blank line rules (#1068) 2023-12-17 16:59:55 -06:00
deprecated_rule.py Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
exceptions.py
…
install.py
…
junit.py
…
parser.py Issue#1081: Adding configuration option for constant_400 (#1094) 2024-01-21 13:55:08 -06:00
prerequisite.py Issue 864 (#895) 2022-12-13 18:05:24 -06:00
proposed_rule.py Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
rule.py Issue#1117 Modifed initialisation of the `Rule` class's `name` and `identifier` attributes to reduce duplication. (#1118) 2024-02-04 15:23:23 -06:00
rule_list.py Issue 815 (#840) 2023-12-09 08:03:07 -06:00
severity.py
…
token_map.py Issue#551: Fixing scoping of consistent token case rules. (#1052) 2024-01-21 12:36:29 -06:00
tokens.py Issue#551: Fixing scoping of consistent token case rules. (#1052) 2024-01-21 12:36:29 -06:00
utils.py
…
version.py Preparing for relesae 3.21.0 2024-01-28 11:50:19 -06:00
violation.py
…