Commit Graph

1796 Commits

Author SHA1 Message Date
Jeremiah Leary be88d4a462 Updates for issue #445
Adding ability for the user to adjust the indenting algorithm.

  1)  Added documentation
  2)  Refactored indent algorithm
      a)  Changed algorithm to use a YAML configuration file
  3)  Added indent dictionary to -oc output
  4)  Updated tests to use new YAML configuration file
2020-12-20 18:06:07 -06:00
Jeremiah Leary d7403e6273 Fixing 3.0.0 release date. 2020-12-20 09:17:31 -06:00
Jeremiah Leary 5cd7afd6f4 Updates for issue #373
Adding rules to analyze block comments.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
      a) block_comment_001
      b) block_comment_002
      c) block_comment_003
  4)  Added new extract method
      a) get_consecutive_lines_starting_with_token
2020-12-19 19:48:40 -06:00
Jeremiah Leary b3b245afbc Updates for issue #487
Adding rule to check for blank lines after an architecture body.

  1)  Added documentation
  2)  Added test
  3)  Added rule architecture_200
2020-12-19 11:51:54 -06:00
Jeremiah Leary 17f61baf87 Updates for issue #487
Removing unused code.
2020-12-19 11:45:52 -06:00
Jeremiah Leary 712513d268 Updates for issue #501
Adding rules for alignment of identifiers and colons in generate_statement_body.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
      a)  generate_400
      b)  generate_401
      c)  generate_402
      d)  generate_403
      e)  generate_404
      f)  generate_405
2020-12-19 11:26:28 -06:00
Jeremiah Leary 685494b2ac Updates for issue #487:
Adding links to architecture_rules.
Fixing copyright date.
2020-12-18 18:54:54 -06:00
Jeremiah Leary 312167b3e5 Updates for issue #494:
Updating documentation for rule instantiation_601 to show the correct default prefix value.
2020-12-18 18:40:41 -06:00
Jeremiah Leary f3e77c646c Updates for issue #498:
Minor grammar update in documentation.
2020-12-18 18:30:24 -06:00
Jeremiah Leary 5fbaa0bffb Updates for issue #502:
Fixing issue where indenting comments after a library statement was not being set correctly.

  1)  Updated tests to expose issue
  2)  Updated indent logic to handle the case correctly
2020-12-18 14:58:48 -06:00
Jeremiah Leary 536abbedd7 Updates for issue #401:
Expanding rules for attributes:

  1)  Removed current attribute rules
  2)  Added rules for:
      a) attribute_declaration
      b) attribute_specification
      c) entity_specification
  3)  Added documentation
  4)  Added tests
  5)  Refactored base rules to allow for lists of token types
      a) single_space_after_token
      b) single_space_before_token
2020-12-18 14:13:40 -06:00
Jeremiah Leary 2f3d4c0996 Updates for issue #500
Not all rules were using the rule.add_violation method which enforced code_tags.

  1)  Updated tests
  2)  Changed vsg-disable-next-line to vsg_disable_next_line
  3)  Updated documentation
  4)  Updated all rules to use the add_violation method
2020-12-18 09:04:05 -06:00
Jeremiah Leary e94964d883 Updates for issue #497
Adding support for parsing of protected types.

  1)  Added classification tests
  2)  Added parsing of protected types
  3)  Added protected type tokens
2020-12-17 14:58:48 -06:00
Jeremiah Leary efda079b89 Updates for issue #493:
The single_space_after_rule was not taking the end of the line into account when checking for spaces.

  1)  Updated test to expose the issue
  2)  Updated base rule single_space_after to allow for a carriage_return after the token
2020-12-17 13:36:18 -06:00
Jeremiah Leary a18ab6414d Updates for issue #495:
Parser could not handle alias with parenthesis in the name.

  1)  Updated test to expose the issue
  2)  Updated parser to handle parenthesis in the name
2020-12-17 13:20:50 -06:00
Jeremiah Leary 9300971117 Updates for issue #494:
Changing default prefix to 'inst_' for rule instantiation_601.
2020-12-17 12:56:57 -06:00
Jeremiah Leary f8abca3376 Updates for issue #494:
Adding prefix and suffix rules for instantiation labels:

  1)  Added documentation
  2)  Added tests
  3)  Added rules:
      a)  instantiation_600
      a)  instantiation_601
2020-12-17 12:31:01 -06:00
Jeremiah Leary e4ffbfa047 Updates for issue #492:
Prefix and suffix rules would fail if uppercase prefixes/suffixes were used.

  1)  Added tests to expose the issue
  2)  Updated prefix and suffix base rules to allow upper or lower case.
2020-12-17 12:11:10 -06:00
Jeremiah Leary eb31465fb5 Updates for issue #491:
Adding allow_library_clause option to rule library_003 to allow consecutive library clauses.

   1)  Added tests
   2)  Added option allow_library_clause to rule library_003
   3)  Updated documentation
2020-12-17 11:51:16 -06:00
Jeremiah Leary e80c16da15 Updates for issue #429
Improving error message reporting while parsing generate statements.
2020-12-17 10:51:57 -06:00
Jeremiah Leary 72271401ea Updates for issue #456:
Fixing documentation link.
2020-12-17 09:23:07 -06:00
Jeremiah Leary 0efa115ea2 Updates for issue #472
Setting minimum python version to the correct value.
2020-12-17 09:16:32 -06:00
Jeremiah Leary e7342fb578 Updates for issue #487:
1)  Fixed several documentation issues
  2)  Fixed solution for single space between rules
2020-12-17 09:13:27 -06:00
Jeremiah Leary 86ae243421 Updates for issue #472
Adding minimum python requirements when installed from PIP.
The minimum version is now 3.5.

  1)  Updated README
  2)  Added python requirement to setup.py file
2020-12-16 20:40:06 -06:00
Jeremiah Leary e0477f9cbd Updates for issue #457:
Enabling block rules.
2020-12-16 20:26:51 -06:00
Jeremiah Leary 83f71236c2 Updates for issue #454
Adding summary option to -of command line argument.

  1)  Added documentation covering possible output formats
  2)  Added summary option
  3)  Removed guideline severity
2020-12-16 20:20:32 -06:00
Jeremiah Leary f1ba134c91 Fixing title. 2020-12-15 13:20:22 -06:00
Jeremiah Leary b0823a9366 Updated for issue #490:
Adding rules for procedure calls.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
2020-12-15 10:57:36 -06:00
Jeremiah Leary 1b1b59c055 Adding script to output parser results without having to setup a test. 2020-12-15 10:51:30 -06:00
Jeremiah Leary 4d4f92f5ad Updates for issue #489
Fixing documentation issues.
2020-12-14 09:16:46 -06:00
Jeremiah Leary 5a959acb17 Updates for issue #456
Adding ability to add or remove optional keywords.

  1)  Updated base rules to allow for removal of keywords
  2)  Changed default of instantiation_033 to add the keyword
  3)  Updated tests
  4)  Updated documentation
2020-12-12 10:49:44 -06:00
Jeremiah Leary 7a25ded9ef Updates for issues #457 and #444:
Adding block rules.

  1)  Added documentation
  2)  Added tests
  3)  Added initial block rules
2020-12-10 13:48:21 -06:00
Jeremiah Leary e06c6f5373 Updates for issue #487:
Fixed link in documentation for rule instantiation_034.
2020-12-09 21:00:40 -06:00
Jeremiah Leary 1f2917478b Updates for issue #476:
The classifier concurrent_selected_signal_assignment was being too gready.

  1)  Added check for the keyword *end* before classifying.
2020-12-09 19:19:13 -06:00
Jeremiah Leary 089ba52904 Updates for issue #378
Adding rules for package body.

  1)  Added 22 package_body rules
  2)  Added documentation
  3)  Added tests
2020-12-09 16:51:23 -06:00
Jeremiah Leary 30bfcad756 Updates for issue #410
Adding rule to enfore component or entity instantiations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule instantiation_034
2020-12-08 15:01:36 -06:00
Jeremiah Leary bed7a0bcad Updates for issue #409
Adding rule to check for length of process.

  1)  Added documentation
  2)  Added tests
  3)  Added rule length_003
  4)  Added Guideline severity
      a)  Switched all length rules to guidelines
2020-12-08 13:26:57 -06:00
Jeremiah Leary d4f08e36eb Updates for issue #408
Adding check for length of file.

  1) Documentation updates
     a)  Added documentation for rule length_002
     b)  Added section in configuring length rules to cover length_002
  2) Added tests
  3) Added rule length_002
2020-12-08 10:23:26 -06:00
Jeremiah Leary 1cc326e628 Updates for issue #259
Multiple sequential signal assignments on a single line should not exist.

  1)  Added documentation for rule sequential_007
  2)  Added tests
  3)  Added rule sequential_007
2020-12-08 09:17:15 -06:00
Jeremiah Leary 3f775282af Updating release 3.0.0 information. 2020-12-07 18:33:09 -06:00
Jeremiah Leary a80f2ded4f Updates for issue #419
Adding ability to allow for fixing of individual errors:

  1)  Updated tool integration documentation
  2)  Added --fix_only command line argument
  3)  Added feature to code

TODO:

  1)  Add unittest for feature
2020-12-07 16:05:03 -06:00
Jeremiah Leary f3af76252b Updates for issue #401 and #408:
Adding ability to disable rules on the next line.
2020-12-07 12:54:34 -06:00
Jeremiah Leary dd60fbfb42 Rule process_018 was not flagging the first process if it did not have a label. 2020-12-07 12:53:06 -06:00
Jeremiah Leary e4f8b4ed16 Updates for issue #401 and #417:
Adjusting JSON output per request.

(cherry picked from commit 29d2f01b1f03862cc566ab7b08ecd733206337b9)
2020-12-06 11:40:12 -06:00
Jeremiah Leary 164a837f96 updates for issue #401 and #417:
Added --json command line argument to output violations in JSON format.

  1)  Added tests
  2)  Added code to output violations in JSON format
  3)  Updated documentation

(cherry picked from commit a39839e6466e581900febfc0305ef87adc82b00f)
2020-12-06 11:35:35 -06:00
Jeremiah Leary a3c5beedbd Updates for issue #401 and #416:
Added command line option --all_phases to allow VSG to not stop when a violation was found while analyzing a file.

(cherry picked from commit 43d4498815be9ed3187a34409ea06834d7b6dfce)
2020-12-06 10:43:30 -06:00
Jeremiah Leary 17f2c29942 Fixing headers on rule documentation. 2020-12-05 17:50:00 -06:00
Jeremiah Leary 8efd5a5098 Attempting to fix docs not building. 2020-12-05 17:37:52 -06:00
Jeremiah Leary 18507ef8c7 Updating version veriable name. 2020-12-05 16:23:14 -06:00
Jeremiah Leary 5619407cc6 Fixing test failues. 2020-12-05 16:14:34 -06:00