Commit Graph

2052 Commits

Author SHA1 Message Date
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
Jeremiah Leary 04a4f6116f Updates for issue #565
The loop_statement loop keyword was not being indented correctly.

  1)  Updated tests to expose the issue
  2)  Added documentation for new rule
  3)  Added new indent rule
  4)  Fixed indent configuration to ensure proper indenting of loops
2021-04-28 18:15:59 -05:00
Jeremiah Leary 176875b921 Updates for issue #556
Adding rules for report_statement structures.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
2021-04-25 13:26:23 -05:00
Jeremiah Leary df1a098ff3 Preparing for release 3.1.0 2021-04-25 11:21:43 -05:00
Jeremiah Leary de5338decb Updates for issue 555
Use clause with double quotes was not making it through the parser.

  1)  Updated tests to find expose the issue
  2)  Updated code to correctly classify use clauses with double quotes
2021-04-24 14:06:40 -05:00
Jeremiah Leary 9e4b0aa9b8 Minor formatting updates. 2021-04-24 12:57:38 -05:00
Jeremiah Leary e66ed34c9b Refactoring comment_011. 2021-04-23 08:08:10 -05:00
Jeremiah Leary b333fc5c88 Updates for issue #552
Violations detected using the --all-phases option were not resulting in an exit code of 1.

  1)  Updated rule_list to indicate if violations are detected with the --all-phases option
2021-04-22 19:36:02 -05:00
Jeremiah Leary a15f991f94 Merge branch 'issue-548' 2021-04-21 20:37:02 -05:00
Jeremiah Leary b0d81d630f Updates for issue #488:
Fixing minor grammatical error.
2021-04-21 20:22:25 -05:00
Jeremiah Leary 9d4d2969e0 Updates for issue #548
Fixing string literal tokenizing.

  1)  Updated tests
  2)  Updated tokenizer
2021-04-07 21:04:26 -05:00
Jeremiah Leary dc0a430748 Updates for issue #488
Fixing link on disable icon and updating documentation on configuring disabled rules.
2021-04-07 20:33:44 -05:00
Jeremiah Leary 48eacf34e5 Updates for issue #542
Fixing indent issue when a group of comments was not detected as a block comment.
2021-04-07 14:47:23 -05:00
Jeremiah Leary e2541a6aad Updates for issue #488:
Improving documentation of phases and severity.
2021-04-07 08:49:59 -05:00
Jeremiah Leary 01502400cf Updates for issue #550
Reverting number of processors to 1 to address issues with the multiprocessing pool.
2021-04-02 08:43:40 -05:00
Jeremiah Leary 446a3ebe31 Updates for issue #540
Adding icons to all rules.
2021-04-01 22:02:05 -05:00
Jeremiah Leary 97de796930 Updates for issue #540
Adding icons for architecture rules.
2021-04-01 18:35:50 -05:00