* 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>
* Updates for issue #549
Refactoring concurrent_011 into base rule multiline_simple_structure.
* Refactoring concurrent_009 into base rule multiline_conditional_alignment.
* Fixing name and identifier.
* Refactoring rule constant_012 into base rule multiline_array_alignment.
* Adding rule variable_assignment_007.
* Adding rule variable_assignment_008
1) Refactored multiline_structure to be configurable
2) Added documentation
3) Added tests
* Adding rule variable_assignment_400.
* Adding rule variable_assignment_400.
* Updating Documentation
1) Adding files which were not being built
2) Fixed links
* Adding rule concurrent_012.
* Adding rule concurrent_401
* Adding rule sequential_008.
* Adding rule sequential_009.
* Adding rule sequential_401
* Adding rule sequential_402
* Fixing documentation
* Fixing table rendering.
* Changing multiline_alignment_between_tokens to not work on arrays.
* Updating rule concurrent_011 to not operate on arrays.
* Fixing documentation issues:
1) Renamed several rules to improve readability
2) Fixed warnings from sphynx
3) Fixing links
* Adding links to rules.
* Updating docstring with correct links to configuration documentation.
* Updating formatting to match current standards.
* Updating formatting to current standard.
* Changing depricated to deprecated.
* Removing unused documentation.
* Updating table to current standards.
* Updating to latest standard.
* Updating to current formatting standards.
* Updating multiline indent rule:
1) Updated documentation
2) Added align left no align paren on tests
3) Updated the following options:
a) align_left_yes_align_paren_yes
4) Updated docstrings to have correct links.
* Adding example for align_left_no_align_paren_yes.
* Updating documentation per comments.
* Updating documentation per comments.
* Removing option move_last_comment from multiline_structure base rule.
* Updates for issue #539
Adding multiline structural rule for rule signal_016.
1) Added test cases
2) Update rule signal_016
3) Updated documentation
* Adding test for arrays.
* Adding functions to combine slices into a single object
* Adding array_first_paren_new_line option.
* Removing unused code.
* Adding tests for the following parameter options:
1) array_first_paren_new_line (yes/no)
2) first_paren_new_line (yes/no)
* Adding documentation for configuring multiline constraint rules.
* Minor grammar updates.
* Updating per feedback:
1) Made symbols in table with a transparent background
2) Minor grammar updates
3) Fixed indenting in code examples
* Adding correct red penta star png file.
* Upated third example to correctly show behavior.
* Updated figure with correct indenting.
Fixed indenting in example 2.
* Adjusting indent on example 3 and example 4.
* Initial rewrite to classify constraints.
* Converting variable_declaration to call subtype_indication.classify.
* Changing constant_declaration to use subtype_indication.classify
* Changing unbounded_array_definition to use subtype_indication.classify
* Changing subtype_declaration to use subtype_indication.classify
* Changed interface_variable_declaration to call subtype_indication.classify
* Changing the following to use subtype_indication.classify:
interface_constant_declaration
interface_file_declaration
interface_signal_declaration
interface_unkown_declaration
* Changing the following to use subtype_indication.classify:
constrained_array_definition
* Changing the following to use subtype_indication.classify
element_subtype_definition
* Changing the following to use subtype_indication.classify:
alias_declaration
* removing commented out line.
* Changing the following to use subtype_indication.classify:
file_declaration
* Changing the following to use subtype_indication.classify
access_type_definition
* Removing subtype_indication.classify_until
* Initial commit of rule signal_017
* Implemented record_constraint_open_paren = add_new_line
* Minor refactoring.
* Extracted the following functions:
_check_add_new_line
_token_at_beginning_of_line
* Adding the following options to rule signal_017
* record_constraint_open_paren :: remove_new_line
* Adding the following options:
record_constraint_close_paren :: add_new_line
record_constraint_close_paren :: remove_new_line
* Adding the following options:
record_constraint_comma :: remove_new_line
* Adding the following option:
record_constraint_element :: add_new_line
record_constraint_element :: remove_new_line
* Adding the following option:
* array_constraint :: all_in_one_line
* Fixing issue with array_constraint::all_in_one_line not detecting multiline array_constraints.
* Adding the following options:
array_constraint :: one_line_per_dimension
* Adding rule signal_400 to handle indenting of multiline signal constraints.
* Fixing issues for Codacy.
* Refactoring to reduce complexity and improve readability.
* Adding links to new rules.
* Refactoring to improve readability.
* Refactoring to improve readability.
* Fixing style issues.
* Updating for style issues.
* Updating formatting issues.
* Removing unused file.
* Removing commented out debug statements.
* Minor formatting updates.
* Adding metadata attribute and methods.
* Refactoring _check_array_contraint_one_line_per_dimension function to improve readability.
* Refactoring _check_array_constraint_all_in_one_line function to improve readability.
* Refactoring _create_violation to just take oToi as a parameter.
* Adding exception logic.
* Refactoring to improve readability.
* Refactored analyze_exception_one to improve readability.
* Refactoring the following functions:
* _check_array_constraint_all_in_one_line
* _check_array_constraint_one_line_per_dimension
* Refactoring the following functions:
* add_index_constraint_open_parenthesis
* add_index_constraint_close_parenthesis
* add_record_constraint_open_parenthesis
* add_record_constraint_close_parenthesis
* Refactoring to improve readability.
* Minor formatting updates.
* Adjusting signal_400 to remove extra level of indent.
* Updates for rule signal_400:
1) Modified base rule multiline_alignment_between_tokens to support signal_400
2) Added tests for the four variants of options.
* Fixing style issues.
* Simplifying _check_new_line_after_comma function.
* Deprecating rule signal_016.
* Removing unused base rule multiline_declaration_structure.
* Style and minor refactorings.
* Moving filtering of toi's from _analyze to _get_tokens_of_interest.
* Extracted update_open_paren_counter from _classify_assignment
* Extracted update_close_paren_counter form _classify_assignment
* Refactoring _fix_violation to reduce complexity
* Refactored _create_violation:
1) Placed violation information into oToi object
* Refactoring to reduce complexity.
* Adding rule constant_017
* Adding rule variable_017
* Updating links to rules.
* Adding rule variable_400.
* Minor cleanup of documentation.
* Adding default values for options.
* Minor updates for formatting: