Commit Graph

85 Commits

Author SHA1 Message Date
Jeremiah Leary b6ea6f82db Refactored rule architecture_012 for new parser.
1)  Refactored rule
  2)  Added base rule single_space_between_tokens
  3)  Updated tests
  4)  Removed old tests
2020-09-22 20:20:45 -05:00
Jeremiah Leary d3640ddcfe Refactored rule architecture_010 for new parser.
1)  Refactored rule
  2)  Added base rule insert_token_right_of_token_if_it_does_not_exist
  3)  Updated tests
  4)  Removed old tests
2020-09-22 19:52:49 -05:00
Jeremiah Leary a1166053ba Refactoring rule architecture_028 for new parser. 2020-09-22 08:30:44 -05:00
Jeremiah Leary 7ae965c8e1 Refactoring rule architecture_021 for new parser. 2020-09-22 08:20:33 -05:00
Jeremiah Leary 8fcfac96d1 Refactoring rule architecture_020 for new parser. 2020-09-22 08:15:41 -05:00
Jeremiah Leary ccfcfece69 Refactoring rule architecture_019 for new parser. 2020-09-22 08:10:50 -05:00
Jeremiah Leary 9ad1c2e863 Refactored rule architecture_014 for new parser. 2020-09-22 08:05:00 -05:00
Jeremiah Leary 6fcd0fa837 Refactoring rule architecture_013 for new parser.
1)  Skipped severity tests until all rules have been refactored
2020-09-22 07:55:55 -05:00
Jeremiah Leary 094123ee82 Refactoring rule architecture_011 for new parser.
1) Refactored rule architecture_011
  2) Skipped all style tests until all rules have been refactored
2020-09-22 07:42:49 -05:00
Jeremiah Leary 6a33175d6e Refactored rule architecture_003 for new parser.
1)  Added base rule blank_line_above_line_starting_with_token
  2)  Updated tests
2020-09-22 07:05:05 -05:00
Jeremiah Leary 1b9d0208fc Refactoring rule architecture_009 for new parser. 2020-09-21 07:47:17 -05:00
Jeremiah Leary 969b96b46a Refactoring rule architecture_008 for new parser. 2020-09-21 07:32:16 -05:00
Jeremiah Leary f015128279 Refactoring rule architecture_007 for new parser. 2020-09-21 07:14:51 -05:00
Jeremiah Leary 2b508cd6a2 Refactored rule architecture_001 to use new parser.
1)  Added token_indent rule
 2)  Improved testing
2020-09-21 07:03:22 -05:00
Jeremiah Leary a77213786e Refactoring rule architecture_006 to use new parser. 2020-09-20 16:02:26 -05:00
Jeremiah Leary 2e8c26cd56 Refactoring rule architecture_005 to use new parser. 2020-09-20 15:49:08 -05:00
Jeremiah Leary 5efc4c5d1b Refactored rule architecture_004 to use new parser.
Added token_case rule to support other case rules.
Improved testing of architecture_004.
2020-09-20 12:28:09 -05:00
Jeremiah Leary 7a3fcf9883 Updates for issue #434:
Adding rules to align declaration identifiers:

  1)  Updated documentation
  2)  Removed the following rules
      file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
  3)  Added new rules:
      architecture_029, function_015, package_019, procedure_010 and process_037
  4)  Added tests for new rules
  5)  Updated classifiers to support new rules
2020-06-30 11:36:01 -05:00
Jeremiah Leary 58b16cc01b Updates for issue #432:
Abstracting architecture_029 to identifier_alignment_rule.
2020-06-27 08:21:10 -05:00
Jeremiah Leary 02b3835381 Updates for issue #432:
Adding rule architecture_029 to align idenifiers in signal, constant, variable, file, type and subtype declarations.

  1)  Updated documentation
  2)  Added tests
  3)  line class updates
      a)  Added new architecture attribute
      b)  Added new method to update the line attributes from tokens
  4)  Added rule architecture_029
2020-06-25 09:58:49 -05:00
Michał Kruszewski 3b1942f80d Split architecture_009. 2020-06-23 10:12:32 +02:00
Jeremiah C Leary 6b4a45791d Updates for issue #362
Changing utils.get_violation_linenumber to utils.get_violation_line_number.
2020-04-01 21:11:38 -05:00
Jeremiah C Leary 01746e70ea Merge branch 'master' into issue-362 2020-03-31 21:16:50 -05:00
Jeremiah C Leary b9abdf8a57 Updates for issue #362:
Updated rules to use consistent violation dictionary:

  1)  Updated check.indent_of_comments_above to use the violation dictionary
  2)  Updated rules to use the violation dictionary
  3)  Updated tests
2020-03-31 20:09:51 -05:00
Michał Kruszewski b6226ecb7d Set the default case to lowercase for all case rules. 2020-03-29 21:26:15 +02:00
Jeremiah C Leary 4437e19f37 Updates for issue #354
Changed VSG output format to improve readability:

  1)  Updated documentation
  2)  Refactored rule and rule_list to move reporting to new report module
      a)  Removed rule.report_violations method
      b)  Added rule.get_violations_at_line method
  3)  Added vsg.report module
      a)  Added individual VSG and syntastic output files
  4)  Updated tests
2020-03-25 16:34:22 -05:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary 0f4f0ba88b Updates for issue #337
Updated rule architecture_005 to move the "of" keyword to the same line as the architecture keyword.

  1)  Updated tests
  2)  Updated code
  3)  Updated documentation
2020-02-21 22:23:28 -06:00
Jeremiah C Leary f81a777bc1 Updates for issue #335:
Updated architecture tests to use a dictionary for the violation list.

  1)  Updated code
      a)  Added utils.create_violation_dict function
      b)  Updated architecture rules
  2)  Updated tests
2020-02-16 09:12:39 -06:00
Jeremiah C Leary fb4c5ca972 Updates for issue #335:
Updated rules based on the single_space_after_rule and multiple_spaces_after_rule base rules:

  1)  Updated rules to use violations list for the fix phase
  2)  Updated tests
2020-02-15 16:12:47 -06:00
Jeremiah Leary 322050acc1
Merge pull request #329 from willkamp/quickfixes
Fixes required to handle double hyphens in quoted strings so they are not considered a comment marker.
2020-01-24 11:34:59 -06:00
Michał Kruszewski 985ea8da9c Make architecture rules inherit from case rule. 2020-01-20 20:59:49 +01:00
Will Kamp 3fc726654e Various changes so that hyphens inside double quotes are not treated as a comment marker. 2020-01-08 17:46:21 +13:00
Jeremiah C Leary 86c708a986 Minor formatting updates for Codacy issues. 2020-01-02 11:58:48 -06:00
Jeremiah C Leary e7a91cef71 Fixing formatting issues flagged by Codacy. 2020-01-02 11:23:09 -06:00
Michał Kruszewski 49aa53ab61 Replace extract_word function with extract_words. 2019-12-28 11:39:32 +01:00
Jeremiah C Leary 950c19dd26 Updates for issue #288:
The follow case rules were made configurable:

  architecture_004
  architecture_019
  architecture_020
  architecture_021

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules
2019-11-30 10:29:26 -06:00
Jeremiah C Leary 1b869ff8af Updates for issue #288:
Updated rules architecture_013 and architecture_014 so their case can be user defined.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rules architecture_013 and architecture_014
2019-11-30 08:40:33 -06:00
Jeremiah C Leary 9b7e7b179f Updates for issue #288:
Updated rule architecture_011 to allow the user to set the case for the architecture name.

  1)  Updated documentation
  2)  Added test
  3)  Updated rule arechitecture_011
2019-11-30 08:09:10 -06:00
Jeremiah C Leary a374867c40 Refactoring fix.upper_case and fix.lower_case to remove unneccessary input. 2019-10-16 21:36:30 -05:00
Jeremiah C Leary e62b414261 Updates for Codacy checks. 2019-10-15 19:18:14 -05:00
Jeremiah C Leary f866d1d89b Updates for Codacy issues. 2019-10-15 18:40:43 -05:00
Jeremiah C Leary c71e025878 Updates for issue #258
Rule architecture_014 would not uppercase the entity name if it matched the architecture name.

  1)  Updated tests
  2)  Updated rule architecture_014
2019-10-15 18:06:09 -05:00
Jeremiah C Leary f253b18f81 Refactoring architecture_025 to use the _get_solution method. 2019-10-15 17:38:24 -05:00
Jeremiah C Leary 938b9a6ab1 Updates for issue #265
Changed solution output so it gave the list of valid architecture names.
2019-10-12 21:13:54 -05:00
Jeremiah C Leary 060704b5e7 Updates for issue #265
Made architecture_025 disabled by default.
2019-10-12 21:09:25 -05:00
Jeremiah C Leary 0b4c10ee5c Updates for issue #265:
Adding rule architecture_025 to enforce naming of architectures.

  1)  Added tests
  2)  Added documentation
  3)  Added rule architecture_025
2019-10-12 21:04:43 -05:00
Jeremiah C Leary 016f65d6b0 Updates for issue #226
Refactoring the following rules for code coverage:

   architecture_024
   instantiation_010
   port_011
   process_018
   process_031
   sequential_004
2019-04-10 20:21:11 -05:00
Jeremiah C Leary f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -05:00