vhdl-style-guide/vsg/tests/assert_statement
Jeremiah Leary 9f65068692
Updates for issue #559: (#798)
* Updates for issue #559:

Adding documentation for configuring indent rules.

* Adding documentation:

  1)  Updated whitespace_002
  2)  Added whitespace_014
  3)  Added configuring tabs vs spaces

* Adding example documentation.
Fixing table.

* Updated documentation:

  1)  Removed whitespace_014
  2)  Updated whitespace_002 to only work on middle tabs
  3)  Removed configuring_tabs_vs_spaces document
  4)  Removed tabs as an option for indenting

* Updating token indent rules.

* Adding smart_tabs test for rule assert_statement_001

* Updating rule assert_400 to allow smart tabs.

* Refactoring assert_400 to improve readability.

* Refactoring to reduce complexity.

* Updates for rule case_011 and assert_400:

  1) Replaced align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token with assert_400
  2) Updated rule assert_400 to inherit align rule
  3) Changed rule case_011 to use align rule

* Removing rule case_021.

The function of the rule is now covered by comment_010.

* Deprecating rule case_generate_alternative_300.

* Refactoring analyze to _analyze.

* Splitting configuration of rule assert_400 into its own page.

* Updating multiline_alignment_between_tokens to handle smart tabs.

* Deprecating rules if_032 and if_033.  They are covered by comment_010.

* Updated report_statement_400 to use align_consecutive_lines_after_line_starting_with_token_and_stopping_with_token.

* Updating rule process_028 to handle smart-tabs

 1) Updated tests
 2) Updated base rule align_left_token_with_right_token_if_right_token_starts_a_line

* Updating rule library_009 to handle smart-tabs

  1)  Updated tests
  2)  Updated base rule align_consecutive_lines_starting_with_a_comment_above_line_starting_with_token

* Minor formatting updates.

* Adding methods to support multiline alignment base class.

* Refactored rule constant_012 to split indent and alignment whitespace.

* Adding smart-tab support to rule constant_012.

* Removing old classify code.

* Removing debug print statement.

* Updating documentation for assert and report_statement rules.

* Updating rule concurrent_009 to support smart-tabs.

  1)  Added tests
  2)  Updated rule to support smart-tabs

* Updating documentation to match current implementation.

* Taking a different approach for multiline_alignment_between_tokens.

  1)  Reverted smart_tabs changes
  2)  Updated base rule to method employed on concurrent_009
  3)  Commented out smart_tab tests

* Updated missing meta data to Toi in rule constant_014

Fixed error in align_left_no_align_paren_no analyzer.

* Adding smart-tab support to base rule multiline_alignment_between_tokens.

* Updating alignment rules to support smart tabs.

  1)  Updated base rules
      a) vsg/rules/align_tokens_in_region_between_tokens.py
      b) vsg/rules/align_tokens_in_region_between_tokens_skipping_lines_starting_with_tokens.py
      c) vsg/rules/align_tokens_in_region_between_tokens_unless_between_tokens.py
  2)  Updated rule concurrent_008
  3)  Added tests

* Fixing issue with rule port_map_009 misfiring if the following token sequence occured:  comma, whitespace, carraige return.

* Updating solution for indent rules to give required tabs and spaces.
Fixing several bugs in indent implementation:
  1)  checking for smart-tabs instead of smart_tabs

* Updates for Codacy issues.

* Additional Codacy updates.

* Fixing style issues identified by CodeClimate.

* Additional style fixes identified by CodeClimate.

* Refactoring alignment rules:

  1)  Created utils file specifically for alignment rules
  2)  Refactored rules to move identical code into utils file

* Moving update_column_width into alignment_utils file.

* Moving functions into alignment_utils:
  1)  get_first_line_info
  2)  starts_with_paren

* Using functions in alignment_utils.

* Collapsing branches to improve readability.

* Refactoring to improve readability.
2022-10-07 08:01:03 -05:00
..
__init__.py Updates for issue #71 2017-12-03 07:17:29 -06:00
rule_001_test_input.fixed_smart_tabs.vhd Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
rule_001_test_input.fixed_spaces.vhd Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
rule_001_test_input.vhd Refactored rule assert_001 for new parser. 2020-09-26 14:40:57 -05:00
rule_002_test_input.fixed.vhd Updates for issue #548: 2021-09-21 22:27:12 -05:00
rule_002_test_input.vhd Updates for issue #548: 2021-09-21 22:27:12 -05:00
rule_003_test_input.fixed.vhd Updates for issue #559 2021-10-02 11:07:52 -05:00
rule_003_test_input.vhd Updates for issue #559 2021-10-02 11:07:52 -05:00
rule_004_test_input.fixed.vhd Updates for issue #548: 2021-09-21 22:27:12 -05:00
rule_004_test_input.vhd Updates for issue #548: 2021-09-21 22:27:12 -05:00
rule_005_test_input.fixed.vhd Updates for issue #559 2021-10-02 11:07:52 -05:00
rule_005_test_input.vhd Updates for issue #559 2021-10-02 11:07:52 -05:00
rule_400_test_input.fixed__smart_tabs__report_aligned.vhd Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
rule_400_test_input.fixed_left_aligned.vhd Updates for issue #506: 2021-01-11 20:28:20 -06:00
rule_400_test_input.fixed_left_aligned__smart_tabs.vhd Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
rule_400_test_input.fixed_report_aligned.vhd Updates for issue #506: 2021-01-11 20:28:20 -06:00
rule_400_test_input.fixed_report_aligned__smart_tabs.vhd Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
rule_400_test_input.vhd Updates for issue #506: 2021-01-11 20:28:20 -06:00
test_rule_001.py Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00
test_rule_002.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_003.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_004.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_005.py Updates for issue #651 (#662) 2022-01-01 17:46:43 -06:00
test_rule_400.py Updates for issue #559: (#798) 2022-10-07 08:01:03 -05:00