* 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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| rule_001_test_input.fixed_smart_tabs.vhd | ||
| rule_001_test_input.fixed_spaces.vhd | ||
| rule_001_test_input.vhd | ||
| rule_002_test_input.fixed.vhd | ||
| rule_002_test_input.vhd | ||
| rule_003_test_input.fixed.vhd | ||
| rule_003_test_input.vhd | ||
| rule_004_test_input.fixed.vhd | ||
| rule_004_test_input.vhd | ||
| rule_005_test_input.fixed.vhd | ||
| rule_005_test_input.vhd | ||
| rule_400_test_input.fixed__smart_tabs__report_aligned.vhd | ||
| rule_400_test_input.fixed_left_aligned.vhd | ||
| rule_400_test_input.fixed_left_aligned__smart_tabs.vhd | ||
| rule_400_test_input.fixed_report_aligned.vhd | ||
| rule_400_test_input.fixed_report_aligned__smart_tabs.vhd | ||
| rule_400_test_input.vhd | ||
| test_rule_001.py | ||
| test_rule_002.py | ||
| test_rule_003.py | ||
| test_rule_004.py | ||
| test_rule_005.py | ||
| test_rule_400.py | ||