Commit Graph

1017 Commits

Author SHA1 Message Date
Jeremiah C Leary 5a98adb4b7 Updates for issue #235:
Refactored code to improve readability.
2019-12-04 08:51:16 -06:00
Jeremiah C Leary 8309e4a670 Updates for issue #235:
Added test to validate correct alignment after the fix is applied.
2019-12-04 08:38:23 -06:00
Jeremiah C Leary 1a5aa37f7a Updates for issue #235:
Adding parenthesis alignment to rule concurrent_003.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule concurrent_003

NOTE:  This in an interim commit before refactoring.
2019-12-04 08:30:41 -06:00
Jeremiah C Leary 4740256be4 Updates for issue #296:
Fixed string comparison in test.
2019-12-01 18:00:27 -06:00
Jeremiah C Leary ae90ec48c0 Updates for issue #296:
Debugging why tests is failing on Travis CI.
2019-12-01 17:52:02 -06:00
Jeremiah C Leary 5496eb06ea Updates for issue #296:
Debugging globbing tests.
2019-12-01 17:39:09 -06:00
Jeremiah C Leary fc9a5fa4d7 Updates for issue #296:
Attempting to fix Travis CI error on globbing files test.
2019-12-01 17:19:07 -06:00
Jeremiah C Leary 054f63eb53 Removing files generated by tests. 2019-12-01 17:13:01 -06:00
Jeremiah C Leary dd4ff0bb08 Updates for issue #295
Remerging pull request #293.
2019-12-01 16:57:57 -06:00
Jeremiah C Leary bd5b882326 Updates for issue #288:
Updated generate case rules to allow for configuring upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules generate_005 and generate_010 to allow for upper or lower case.
2019-12-01 09:16:49 -06:00
Jeremiah C Leary c603a9b5dc Updates for issue #288:
Updated function case rules to allow for configuration of either upper or lower case.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule function_005 so it can be either upper or lower case
2019-12-01 08:12:17 -06:00
Jeremiah C Leary be51fdff4a Updates for issue #288:
Updated rule for_loop_003 to allow for case configuration.

  1)  Updated documentation
  2)  Updated tests
  3)  Update rule for_loop_003 to allow for upper or lower case.
2019-12-01 07:51:17 -06:00
Jeremiah C Leary 082424a54a Updates for issue #288:
Fixing default values for rule entity_006 and entity_014 from uppercase to lowercase.
2019-11-30 17:29:38 -06:00
Jeremiah C Leary b05b979470 Updates for issue #288:
Updated entity case rules to allow for configuration upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules entity_006 and entity_014
2019-11-30 17:27:32 -06:00
Jeremiah C Leary 620c13ad20 Updates for issue #288:
Updated architecture case rules to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated the following rules:

      architecture_006
      architecture_012
      architecture_014
2019-11-30 15:16:20 -06:00
Jeremiah C Leary 31d7d5d472 Adding case to configurable parameters for the case rule. 2019-11-30 15:06:25 -06:00
Jeremiah C Leary 950c19dd26 Updates for issue #288:
The follow case rules were made configurable:

  architecture_004
  architecture_019
  architecture_020
  architecture_021

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules
2019-11-30 10:29:26 -06:00
Jeremiah C Leary 1b869ff8af Updates for issue #288:
Updated rules architecture_013 and architecture_014 so their case can be user defined.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rules architecture_013 and architecture_014
2019-11-30 08:40:33 -06:00
Jeremiah C Leary 9b7e7b179f Updates for issue #288:
Updated rule architecture_011 to allow the user to set the case for the architecture name.

  1)  Updated documentation
  2)  Added test
  3)  Updated rule arechitecture_011
2019-11-30 08:09:10 -06:00
Jeremiah C Leary a04bb4cd16 Updates for issue #288:
Updated rule entity_012 to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rule entity_012
2019-11-29 09:42:09 -06:00
Jeremiah C Leary fa3e67d598 Updates for issue #276:
Added two rules to handle setting the case for range keywords **to** and **downto**.

  1)  Added documentation
  2)  Added tests
  3)  Added rules range_001 and range_002
2019-11-29 08:38:30 -06:00
Jeremiah C Leary d4319c1ab6 Fixing heading styles. 2019-11-27 12:28:39 -06:00
Jeremiah C Leary 6a352cfe20 Adding tests to increase code coverage. 2019-11-27 12:21:35 -06:00
Jeremiah C Leary 3c1a7237fb Adding tests to improve code coverage. 2019-11-27 10:38:29 -06:00
Jeremiah C Leary 1f398d2b9a Adding tests to improve code coverage. 2019-11-27 10:20:56 -06:00
Jeremiah C Leary 5f9d675d9c Adding test to improve code coverage. 2019-11-27 10:03:35 -06:00
Jeremiah C Leary 55314ef101 Adding test to improve code coverage. 2019-11-27 09:55:29 -06:00
Jeremiah C Leary a918976c22 Updates for issue #278:
Added subphases to allow rules within a phase to be executed in the proper order.

  1)  Updated documentation
  2)  Added subphases to rule_list.fix() method
2019-11-27 07:44:27 -06:00
Jeremiah C Leary 5cb0a35cc9 Updates for issue #287:
Fixed two issues:

  1)  VSG was misclassifying function parameters as variables.
  2)  VSG was not setting an indent level for the end of a function.
2019-11-27 07:13:29 -06:00
Jeremiah C Leary f50bee7eb7 Updates for issue #253:
Disabling globbing tests as they fail only on Travis CI but pass locally.
2019-11-25 22:16:25 -06:00
Jeremiah C Leary ce4412c4cf Updates for issue #253:
Debugging why test fails in Travis CI while it passes locally.
2019-11-25 22:12:23 -06:00
Jeremiah C Leary a18ae7e192 Updates for issue #253:
Fixed update_exit_status function which was not presevering a failure when multiple files were processed.
2019-11-25 22:00:13 -06:00
Jeremiah C Leary 6e3675360d Updates for issue #253:
Debugging test failure on Travis CI that does not occur locally.
2019-11-25 21:52:23 -06:00
Jeremiah C Leary 327f94cd01 Updates for issue #253:
VSG will now set an exit code of 1 if any violations are detected.
Otherwise it will set an exit code of 0.
2019-11-25 21:45:56 -06:00
Jeremiah C Leary ab42a8204a Adding dist to ignore list. 2019-11-25 21:45:41 -06:00
Jeremiah C Leary 5f94df506f Preparing for Release 1.0.
This will transition VSG from python 2 to python 3.
2019-11-25 20:40:49 -06:00
Jeremiah C Leary 1cb37b1661 Updated version for release 0.44 2019-11-24 06:57:03 -06:00
Jeremiah Leary 93e3ab62c0
Merge pull request #294 from jeremiah-c-leary/revert-293-inst_rule_011
Revert "Make instantiation rule_011 inherit from case_rule."
2019-11-23 08:17:19 -05:00
Jeremiah Leary ed7738c341
Revert "Make instantiation rule_011 inherit from case_rule." 2019-11-23 07:12:04 -06:00
Jeremiah Leary a02e679113
Merge pull request #293 from m-kru/inst_rule_011
Make instantiation rule_011 inherit from case_rule.
2019-11-23 08:07:43 -05:00
Jeremiah C Leary c8932ae3c3 Fixing import issue so it will work with python 2.7 2019-11-23 07:00:13 -06:00
Jeremiah Leary 88443f0e37
Merge pull request #292 from m-kru/extract_type_bug_fix
Extract type bug fix.
2019-11-23 07:57:42 -05:00
Michał Kruszewski 2a20fbffcf Make instantiation rule_011 inherit from case_rule.
During this change it turned out that there was a bug in how
case was fixed for case rule. It is now fixed, because words that
needs fixing are now stored per line, not per file like it was
previously.
2019-11-21 18:28:57 +01:00
Michał Kruszewski c7aa7a7f36 Fix bug where no type on signal declaration line raised exception. 2019-11-21 14:55:22 +01:00
Michał Kruszewski 4613eef819 Fix import line in vsg/utils.py 2019-11-20 18:51:27 +01:00
Jeremiah C Leary 6e61da5e22 Updates for issue #271:
Adding length to the rule list.
2019-11-10 15:05:26 -06:00
Jeremiah C Leary 144473f164 Updates for issue #271
Adding rule length_001 to check for line length violations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule length_001
2019-11-10 14:53:48 -06:00
Jeremiah C Leary 7b157f86aa Updates for issue #282
Added rule to ensure signal declarations are on a single line.

  1)  Added documentation
  2)  Added tests
  3)  Added rule signal_016
2019-11-10 08:33:38 -06:00
Jeremiah C Leary 8abcf7877b Updating documentation for rule signal_015. 2019-11-10 06:51:34 -06:00
Jeremiah C Leary c9f44e9e32 Updates for issue #282:
VSG would crash if the closing ; was not on the same line as the signal keyword.
Created rule signal_015 to handle the general case of multiple signals declared in a single signal declaration over multiple lines.

  1)  Created test cases
  2)  Updated documentation
  3)  Added rule signal_015
2019-11-10 06:35:50 -06:00