Commit Graph

1001 Commits

Author SHA1 Message Date
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
Jeremiah C Leary 5696c3a678 Updates for issue #282:
Adding rule signal_015 to handle a signal declared over multiple lines:

  1)  Added documentation
  2)  Added test
  3)  Added rule signal_015

NOTE:  Only the detection portion has been added.  The fix will be added next.
2019-11-03 20:06:38 -06:00
Jeremiah C Leary 0e2d48fa47 Updates for issue #282:
Adding new line attributes to cover signal assignments spanning multiple lines.
2019-11-03 07:00:41 -06:00
Jeremiah C Leary ac3fb3a385 Updates for issue #283:
Whitespace_011 would add a space between a - and a number.
This is a partial fix to not flag this issue.
Additional work is needed to handle the generic case.
2019-10-27 21:02:12 -05:00
Jeremiah C Leary 3a704cdd9e Updates for issue #285:
VSG would crash if rules with configurable attributes were incorrectly defined.

  1)  Added test to check for invalid configurable attributes
  2)  Fixed two rules which had invalid configurable attributes
2019-10-23 21:10:09 -05:00
Jeremiah C Leary 791021b799 Updates for issue #284:
The indent level of the begin keyword was incorrect in cases of processes without sensitivity lists.

  1)  Changed indent level to match that of the process keyword in all cases.
  2)  Updated tests
2019-10-20 07:20:49 -05:00
Jeremiah C Leary dba1db5968 Updates for issue #268:
Added checking of rules defined in a configuration against the existing rule set.
If a rule does not exist, then an error message will be printed and VSG will exit.
2019-10-18 07:31:45 -05:00
Jeremiah C Leary 6fe8bf4a03 Updates for issue #268:
Added code to be more descriptive of configuration errors:

  1)  VSG will report if a configuration file could not be found
  2)  VSG will report why a configuration is invalid
2019-10-18 07:05:43 -05:00
Jeremiah C Leary c184c07592 Updating tests to improve code coverage. 2019-10-18 06:41:38 -05:00
Jeremiah C Leary 2b2c66bc37 Adding tests to improve code coverage. 2019-10-18 06:20:25 -05:00
Jeremiah C Leary d6433affe9 Adding tests to improve code coverage. 2019-10-17 21:14:07 -05:00
Jeremiah C Leary 15308e63fc Resolving warnings in documentation.
issue #269
2019-10-17 07:10:31 -05:00
Jeremiah C Leary bb7b44e0ec Adding tests to improve code coverage. 2019-10-16 22:16:31 -05:00
Jeremiah C Leary a374867c40 Refactoring fix.upper_case and fix.lower_case to remove unneccessary input. 2019-10-16 21:36:30 -05:00
Jeremiah C Leary 086a694306 Updates for issue #269:
Updated failing tests for new prefix and suffix rules.

  1)  Updated tests
  2)  Updated has_prefix to be case insensitive
2019-10-16 18:57:58 -05:00
Jeremiah Leary f7476ca569
Merge pull request #277 from m-kru/prefix_suffix
Add prefix and suffix rules.
2019-10-16 07:26:47 -05:00
Michał Kruszewski 996febb7a0 Add prefix and suffix rules. 2019-10-16 11:53:58 +02:00