Commit Graph

2068 Commits

Author SHA1 Message Date
Jeremiah Leary 74b1bfc8e8 Updates for issue #580
Fixing issue where a file called out with -f was also in a configuration file_list would result in an exception.
2021-05-11 09:05:18 -05:00
Jeremiah Leary e7b9d00b6b Updates for issue #580
Refactoring tests.
2021-05-10 07:27:33 -05:00
Jeremiah Leary 75122f1575 Updates for issue #580
Addition refactoring changing calls to configuration dictionary to use class instead.
2021-05-08 14:20:00 -05:00
Jeremiah Leary 74cbd3aa47 Updates for issue #580
Moving update_command_line_arguments to config class.
Cleaning up references to old configuration dictionary.
2021-05-08 10:18:34 -05:00
Jeremiah Leary e7505d3695 Updates for issue #580
Moving debug into config class.
2021-05-08 10:04:44 -05:00
Jeremiah Leary e776c0ab72 Updates for issue #580
Moving severity into config class.
2021-05-08 10:00:40 -05:00
Jeremiah Leary fd81e33a29 Updates for issue #580
Added fix only attribute to config class.
2021-05-08 09:51:43 -05:00
Jeremiah Leary 7094b58baf Updates for issue #580
First step in refactoring configuration dictionary into a class.
2021-05-08 09:39:28 -05:00
Jeremiah Leary 14b3da93ae Updates for issue #580
Removing unused functions.
2021-05-08 09:05:08 -05:00
Jeremiah Leary 4a1607175f Updates for issue #580
Removing unused function.
2021-05-08 09:02:30 -05:00
Jeremiah Leary 0129f8a601 Updates for issue #580
Refactoring configuration functions into a config module.
Moving common functions to utils module.
2021-05-08 08:57:12 -05:00
Jeremiah Leary 4217ff23cd Updates for issue #580
Refactoring function command_line_arguments and get_predefined_styles into it's own module.
2021-05-08 08:22:01 -05:00
Jeremiah Leary e745b38de0 Updates for issue #560
Removing text in generic_map rules documentation which stated where the rule was renamed from.
2021-05-08 08:00:57 -05:00
Jeremiah Leary 389a731ae0 Updates for issue #560
Adding depricated rules.

  1)  Updated documentation to provide links to new rules
  2)  Added tests for depricated rules
  3)  Added rules that were depricated back to rule set using the depricated rule class
2021-05-08 07:56:51 -05:00
Jeremiah Leary 5be90a6b6c Updates for issue #560
Adding depricated rule class.
2021-05-07 08:40:55 -05:00
Jeremiah Leary 38398867e7 Removing debug prints. 2021-05-06 17:01:55 -05:00
Jeremiah Leary 8d38e7989d Merge branch 'issue-577' 2021-05-06 15:29:05 -05:00
Jeremiah Leary 8070b4524c Updates for issue #577
Adding option to if_002 to allow removal of enclosing parenthesis.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule if_002
2021-05-05 21:03:06 -05:00
Jeremiah Leary e0d4b03fd4 Updates for issue #580
Making globbing recursive so the ** operator would work.
2021-05-05 17:06:32 -05:00
Jeremiah Leary bd977a40f6 Updates for issue #560
Additional header updates which were missed on previous commit.
2021-05-05 06:54:00 -05:00
Jeremiah Leary c1b23e74b9 Updates for issue #560
Cleanup of headers in rule documentation:

  1)  Removed (depricated) tags from headers
  2)  Removed headers indicating which phase the rule was run in
  3)  Fixed header levels
2021-05-05 06:42:37 -05:00
Jeremiah Leary 1f5b06935e Updates for issue #573
Adding option move_last_comment for rule constant_016:

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule constant_016
  4)  Fixed get_tokens_bounded_by extract function
2021-05-04 17:10:54 -05:00
Jeremiah Leary 2cf5453514
Merge pull request #579 from imd1/issue-576
Issue 576
2021-05-03 08:17:58 -05:00
Jeremiah Leary a49550ba91 Updates for issue #574
Rule constant_012 is now responsible for comment alignment within constant declarations.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules
2021-05-03 08:15:23 -05:00
imd c07503049e Merge branch 'master' into issue-576 2021-05-02 22:46:27 +01:00
Jeremiah Leary c5692f7886 Updates for issue #574
Updating rule constant_016 to run in phase 4 with constant_012:

  1)  Moved constant_016 to phase 4
  2)  Changed constant_012 to subphase 2
2021-05-02 14:49:49 -05:00
imd f75c49eb8d PR review action 2021-05-02 07:28:55 +01:00
imd c8142c3fba Merge branch 'master' into issue-576 2021-05-02 07:25:48 +01:00
Jeremiah Leary b225481de0 Updates for issue #572
Adding rules for exit_statements and report_statements.

  1)  Updated documentation
  2)  Added tests
  3)  Added rules
2021-05-01 17:15:36 -05:00
imd e39c2cb547 Merge branch 'master' into issue-576 2021-05-01 22:22:50 +01:00
Jeremiah Leary be10d675a7 Adding report_statement rules to documentation. 2021-05-01 16:20:22 -05:00
Jeremiah Leary ab405f726f Updates for issue #573
Fixing losing of code tags when inserting tokens.
2021-05-01 16:09:21 -05:00
imd 14a0dbe633 variable suffix rule 2021-05-01 21:46:11 +01:00
imd 046cf644fa comment error 2021-05-01 21:44:58 +01:00
imd 77028aa0fe type suffix rule 2021-05-01 21:35:08 +01:00
imd d400570961 subtype suffix rule 2021-05-01 21:18:18 +01:00
imd 2eb42d2cba fixed comments 2021-05-01 21:16:22 +01:00
imd 71c030a254 added signal suffix rule 2021-05-01 21:02:55 +01:00
imd d84b6e1346 added process suffix rule 2021-05-01 20:47:51 +01:00
imd fff63af87d added generic suffix rule 2021-05-01 20:32:58 +01:00
imd c022ce3709 spotted doc errors 2021-05-01 20:30:55 +01:00
imd 448c2e0d76 added generate suffi rule 2021-05-01 18:17:55 +01:00
Jeremiah Leary 75c6facff6 Minor refactoring of add_violation method. 2021-05-01 10:12:40 -05:00
imd 5981468a11 added new rule to table 2021-04-30 22:11:02 +01:00
imd 3b567954f4 added constant suffix rule 2021-04-30 21:02:27 +01:00
Jeremiah Leary c9de4bff49 Updates for issue #564
Adding alignment rules for colons and comments in package declarations.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
2021-04-30 08:08:25 -05:00
Jeremiah Leary ac6fb209ab Updates for issue #570
Comment lines within if statement conditions were not indented properly.

  1)  Updated tests to expose the issue
  2)  Updated multiline_alignment rule to ignore lines that start with comments
      a)  The rule comment_010 is responsible for indenting lines starting with comments
2021-04-29 21:11:33 -05:00
Jeremiah Leary 5fa511698f Updates for issue #569
A single space character literal was being classified as a whitespace token.

  1)  Updated test to expose the issue
  2)  Updated classifier to not classify a space character literal as a whitespace token
2021-04-29 19:52:54 -05:00
Jeremiah Leary 29539967c1 Updates for issue #565
Adding loop_statement rule to rule set.
2021-04-29 10:41:09 -05:00
Jeremiah Leary fd8d67e0c8 Updates for issue #568
Alignment of colons were occuring before alignment of identifier.

  1)  Changed rule function_012 to run in subphase 2 after the alignment of the identifier
2021-04-29 08:51:31 -05:00