Commit Graph

6 Commits

Author SHA1 Message Date
Jeremiah Leary d9a402ad5d
Imd1 issue 686 (#756)
* Updates for issue #636

Adding severity to output of --json argument.

  1)  Added test to expose the issue
  2)  Updated code to output severity

* Updates for issue #636

Fixing comments in test.

* Updates for issue #642 (#658)

* Updates for issue #642

Updating prefix/suffix rules to also check for matching ending lable/identifiers.

  1)  Updated tests to expose issue
  2)  Updated rules
      a)  generate_007
      b)  generate_600
      c)  package_016
      d)  package_017

* Updates for issue #642

Updating unrelated test that is failing CI due to file ordering in output.

* Updates for issue #642

Another attempt to get a test to pass.

* Updates for issue #642

Another attempt to get a test to pass.

* Updates for issue #642

Seeing if switching to a single core will fix testing issue.

* Disabling three tests just for this release.

* Preparing for release 3.3.1

* Updates for issue #663 (#665)

* Updates for issue #663

Fixing rule if_002 to honor whitespace when removing parenthesis.

  1)  Updated test to expose the issue
  2)  Updated rule to ensure whitespace is preserved

* Refactoring _check_remove_parenthesis to improve readability.

* Refactored check_insert_parenthesis to improve readability.

* Refactoring _fix_violation method to improve readability.

* Updates for codeclimate.

* Removing unused variable.

* Improving tests to increase code coverage.

* Updates for issue #664 (#666)

* Updates for issue #664

Colons in subprogram_declarative_parts were being aligned with process_declarative_parts.

  1)  Updated tests to expose the issue
  2)  Updated rule process_033 to exclude subprogram_declarative_parts

* Fixing codeclimate issue.

* Preparing for release 3.3.2

* start on suffix rule

* added suffix rule

* added documentation

* added prefix rule

* Fixing documentation to match current method.

* Adding exception checking to fix crash of rule if_002.

* Addressing CodeClimate issues.

Co-authored-by: imd <ian.davis@roke.co.uk>
2022-04-30 08:09:51 -05:00
Emil Vanherp a158fd2ac9
Distinguish between file errors
* Don't exit on file not found or other OSErrors, but continue (revert
from fc34afd4d0339e0b17d8f46e3bf527461beccf1a)
* Empty file, file not found, no permission and other
OSErrors are now reported differently.
2021-01-22 15:21:41 +01:00
Emil Vanherp 0971ca194c
Move read_vhdlfile to vhdlFile/utils
And exit with exit code 1 on file not found or any other OSError
2021-01-22 15:21:41 +01:00
Jeremiah Leary 3bc58bb783 Refactoring method get_association_elements_between_tokens:
1)  Moving from vsg.vhdlFile to vsg.vhdlFile.extract
  2)  Partial refactoring to use token map
  3)  Fixed generic_map_008 to use correct tokens
2020-12-03 14:02:47 -06:00
Jeremiah Leary ccc3803613 Refactoring extract, base rules and token rules to use tokenMap. 2020-11-30 20:39:51 -06:00
Jeremiah Leary c2de119824 Updates for issues #464 and #465:
Generic map aspect rules moved from instantiation to generic_map rules.
Port map aspect rules moved from instantiation to port_map rules.

  1)  Updated documentation
      a)  Added generic_map rule section
      b)  Added port_map rule section
  2)  Moved instantiation rules to generic_map rules
  3)  Moved instantiation rules to port_map rules
2020-11-22 21:42:29 -06:00