Commit Graph

32 Commits

Author SHA1 Message Date
Jeremiah Leary 3cc5ac6849
Issue 554a (#659)
* Updates for issue #554

Adding rule to ensure case of ports match in architecture body.

  1)  Added tests
  2)  Added rule architecture_601

* Updates for issue #554

Checking actual_part from component instantiations:

  1)  Added documentation
  2)  Expanded testing to include component instantiations
  3)  Updated rule architecture_601

* Updates for issue #554

Refactoring to improve readability.

* Updates for issue #554

Minor formatting updates.

* Updates for issue 554

Addressing Codacy issues.

* Updates for issue #554

Additional updates for Codacy.
2021-11-03 08:18:40 -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
Emil Vanherp 1f5cd57e59
add integration tests to check summary output 2021-01-22 15:22:47 +01:00
Emil Vanherp 6996435f80
change tests to use subprocess.check_output instead of mock 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
Emil Vanherp a283911645
don't add trailing whitespace 2021-01-11 21:56:58 +01:00
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 379d5df847 Removing trailing spaces. 2020-11-25 08:26:54 -06:00
Jeremiah Leary 2d672df79d Major refactor to remove the use of line.py to improve performance. 2020-11-09 20:49:45 -06:00
Jeremiah Leary 6c44ef62f7 Convertering rule whitespace_003 to new parser. 2020-09-20 10:19:48 -05:00
Jeremiah Leary 75ed817ecb Removing remanants of older parser.
Moving classification tests under vhdlFile_new.
2020-09-19 12:31:18 -05:00
Jeremiah Leary b48509e1b9 Adding component instantiation parsing. 2020-09-04 14:56:25 -05:00
Jeremiah Leary cfb179e757 Adding block_statement objects and improved testing method for objects. 2020-08-17 17:25:49 -05:00
Jeremiah Leary b2a57f4c93 Refactored rules library_009 and comment_010 to use tokens.
1)  Added new methods to line.py
  2)  Copied fix.py to fix_item.py to mirror function that use tokens
2020-08-09 12:17:29 -05:00
Jeremiah Leary d7fa0766ff Refactoring library_007 to use tokens. 2020-08-09 09:55:46 -05:00
Jeremiah Leary 868c8c5864 Refactoring parser.signal objects into token.signal_declaration objects. 2020-08-04 21:47:10 -05:00
Jeremiah Leary caf80b8a2e Adding interface_signal_declaration objects.
Refactored new classifiers to take objects instead of a list of objects.
2020-08-02 21:43:12 -05:00
Jeremiah Leary ed26959607 Adding assert objects. 2020-08-01 15:24:07 -05:00
Jeremiah Leary ba5ae10b8e Updates for issue #393:
Adding two new library rules:

  1)  Added rules library_010 and library_011
  2)  Added tests
  3)  Added documentation
2020-07-26 14:48:02 -05:00
Jeremiah Leary cfa05b0083 Updates for issue #393:
Adding more context rules:

  1)  Added rule context_008

  2)  Added base rule
      a)  move_item_and_items_to_the_right_to_next_line_rule
2020-07-21 08:35:19 -05:00
Jeremiah Leary f3f5b4cf75 Updates for issue #350:
Updating legacy style to ensure code examples pass:

  1)  Updated legacy style
  2)  Updated fixed versions of files as appropriate
  3)  Removed skipping of code example files
2020-05-16 19:25:17 -05:00
Jeremiah C Leary 7d85a98db4 Updates for issue #362:
Interim commit to move all rules to new violation dictionary format.
2020-03-29 13:09:38 -05:00
Jeremiah C Leary 128b080f49 Updates for issue #335
Updated rules based on the line_above_rule.

  1)  Updated line_above_rule
  2)  Updated tests
2020-02-15 15:13:57 -06:00
Jeremiah C Leary e8f3f4ad71 Updates for issue #335
Switched self.dFix in process_018 to use dViolation.

  1) Added additional test case
  2) Updated code
  3) Updated existing test case
  4) Added function to test.utils to add the proper formatting of violations during the check.
2020-02-15 09:53:44 -06:00
Jeremiah C Leary 183b9f5c18 Updates for issue #193
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
2019-02-24 12:49:25 -06:00
Jeremiah C Leary b7a471388a Updates for issue #169
Added outputing of JUnit XML file if a configuration passed to VSG is invalid.
VSG will save a JUnit XML file with the given name and include a message indicating which configuration was invalid.
It will stop on the first invalid configuration passed to VSG.

  1)  Added feature to __main__.py
  2)  Added test
2018-12-07 15:35:49 -06:00
Jeremiah C Leary 803cc0834e Fixed issue with concurrent_002 not removing extra spaces due to a '.
Fixed issue with instantion_012 not fixing issues from the bottom up.
2017-12-14 10:39:30 -06:00
Jeremiah C Leary 241b7922a4 Fixed instantiation_021.
Added documentation.
2017-12-09 09:09:11 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary 9334afdf5f Disabling coverage on vsg/tests/utils.py 2017-12-07 19:30:03 -06:00
Jeremiah C Leary 04db8c65ee Improving code coverage by excluding code in the test utils package.
This is test code and does not need to be covered.
2017-12-07 19:26:00 -06:00
Jeremiah C Leary 4a880fca23 Updates for issue #90
1)  Moved utils.py under tests directory as it was related only to tests.
2017-11-30 06:18:57 -06:00