Commit Graph

717 Commits

Author SHA1 Message Date
Jeremiah C Leary c8a026dbc8 Update issue #212
1)  Refactored generic tests into new file from instantion test file
2019-02-24 10:03:19 -06:00
Jeremiah C Leary 15d39274c3 Updates for issue #206
1)  Fixing Codacy issues
2019-02-24 09:42:29 -06:00
Jeremiah Leary e17268a60a
Merge pull request #209 from csomers82/master
Added process label tracking for process_018
2019-02-24 09:27:09 -06:00
Jeremiah C Leary 51d3822ed5 Preparing for release 0.31 2019-02-17 10:02:55 -06:00
Jeremiah C Leary a51c390771 Updates for Codacy issues. 2019-02-17 09:49:32 -06:00
Jeremiah C Leary cbf811d05b Updates for issue #207
1)  Changed exit function to use a number instead of EX_OK.
      This was causing problems for Python 3.6
2019-02-17 09:37:07 -06:00
Jeremiah C Leary 3f094345a2 Updates for issue #208
1)  Added "when" attributes to line object
  2)  Added classification of "when" constructs
  3)  Added tests
2019-02-17 09:28:19 -06:00
Clifton Somers aca8cce884 successfully implemented process label fixingw 2019-02-16 14:04:23 -06:00
Jeremiah C Leary 5f5eee4571 Updates for issue #203
Made process detection ignore commented out code.

  1)  Updated test
  2)  Updated classifier
2019-02-11 18:13:50 -06:00
Jeremiah C Leary 78ba6e0706 Updates for issue #197
1) Renumbering signal_009 to signal_013 to ensure it runs after signal_012.
2) Fixed code examples
2019-02-10 22:20:29 -06:00
Jeremiah C Leary 2c3f804678 Updates for issue #197
Added fix logic to align the second signal in lines that have two signals defined.
2019-02-10 22:04:23 -06:00
Jeremiah C Leary 0071d57703 Updates for issue #197
Added rule to check for mis-aligned second signal in multiply declared signals on a single line.

  1)  Added documentation
  2)  Added test

NOTE:  Still need to write the fix function
2019-02-10 21:42:04 -06:00
Jeremiah C Leary 4319bb81a6 Refactoring signal tests to use setUp function. 2019-02-10 20:27:44 -06:00
Jeremiah C Leary e85444c7d0 Updates for issue #200
Added fix for bug if "is" was in the type name it would get a space in front of it due to rule type_006.
2019-02-10 20:04:20 -06:00
Jeremiah C Leary 4d99ed5364 Updates for issue #200
Was able to duplicate the issue with a test.  Currently on type_006 test is failing.
2019-02-10 19:45:50 -06:00
Jeremiah C Leary 3a44c978e2 Updated for issue #194
Added whitespace_012 to enforce a maximum number of consecutive blank lines.

  1)  Added documentation
  2)  Added test
  3)  Added rule
2019-02-05 19:34:20 -06:00
Jeremiah C Leary 0a428dc19e Updates for issue #199
Adding generate_014 rule:

  1)  Added test
  2)  Added rule
  3)  Added documentation
2019-02-05 18:27:48 -06:00
Jeremiah C Leary 071be18b73 Updates for issue #199
Adding generate_013 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:44:15 -06:00
Jeremiah C Leary 41fc880100 Updates for issue #199
Adding generate_012 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:29:21 -06:00
Jeremiah C Leary b51d6d0741 Updates for issue #199
Added generate_011 rule

  1)  Added test
  2)  Added rule
2019-02-05 17:21:59 -06:00
Jeremiah C Leary 321402c013 Updates for Issue #199
Adding generate_010 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:17:11 -06:00
Jeremiah C Leary ef3448d900 Updates for issue #199
Added generate_009 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:11:38 -06:00
Jeremiah C Leary 82fe3c0a1f Updates for issue #199
Added fix test for generate_008
2019-02-05 17:06:40 -06:00
Jeremiah C Leary 33282679f1 Updates for issue #199
1) Added documenation for generate rules 008 through 012
  2) Rule 008 added
     a)  Added test
     b)  Added rule
2019-02-05 16:56:20 -06:00
Jeremiah C Leary 436d5c7bb7 Updates for issue #198
Fixed issue when signal names starting with "end_" were classified as an architecture end:

  1)  Added test
  2)  Updated classification
2019-02-05 16:34:07 -06:00
Jeremiah C Leary ac82da0fa8 Preparing for release 0.30 2018-12-18 09:43:51 -06:00
Jeremiah C Leary b56440ea03 Adding error test case for local rules. 2018-12-18 09:07:03 -06:00
Jeremiah C Leary f2bf6e8ede Adding tests for local rules to improve code coverage. 2018-12-18 09:02:57 -06:00
Jeremiah C Leary 9a68c25937 Fixing issues identified by Codacy. 2018-12-18 08:43:16 -06:00
Jeremiah C Leary b71322773e Updates for issue #192
Removing rule variable_011 because it was obsoleted by process_031

  1)  Updated documentation
  2)  Updated tests
  3)  Removed rule variable_011
2018-12-17 21:16:16 -06:00
Jeremiah C Leary bf9f5779cd Updates for issue #192
1)  Reduced scope of constant_009 to the architecture declaritive region
  2)  Refactored constant fix tests to be independent using the setUp method
  3)  Updated documentation
2018-12-17 21:03:35 -06:00
Jeremiah C Leary 59d097ed73 Updates for issue #192
Worked out all the issues with the new rule.

  1)  Updated documentation
  2)  Updated check and fix classes to support new rule
  3)  Updated tests
  4)  Updated rule to work correctly
2018-12-17 19:31:43 -06:00
Jeremiah C Leary 97450b89b6 Updates for issue #192
1)  Moved whitespace_012 to process_031
  2)  Added checks for alignment of colons
  3)  Added documentation
2018-12-16 10:49:27 -06:00
Jeremiah C Leary aa6e59bcdc Updates for issue #192
Added initial whitespace_012 to detect alignment of identifiers in processes.

  1)  Added test
  2)  Added rule
2018-12-15 10:02:43 -06:00
Jeremiah C Leary 30fe7d85fa Preparing for release 0.29 2018-12-12 19:09:12 -06:00
Jeremiah C Leary ec35a15d3a Updates for issue #191
Added rules case_019 and case_020 to remove labels on case statements:

  1)  Added rule case_019
  2)  Added rule case_020
  3)  Added documentation
  4)  Added tests
  5)  Fixed mis-classification of cases with labels
2018-12-12 19:03:15 -06:00
Jeremiah C Leary 362f5bd784 Updates for issue #189
Removing tests from pypi distribution.

  1)  Added pruning to MANFEST.in
  2)  Removed exclusion from find_packages as it was not excluding the tests
2018-12-12 17:48:15 -06:00
Jeremiah C Leary e8de82199d Updates for codacy issues. 2018-12-12 15:45:40 -06:00
Jeremiah C Leary 2f7509f753 Preparing for release 0.28 2018-12-12 12:00:03 -06:00
Jeremiah C Leary 794e4f459d Updates for issue #188
Removing tests from distribution.
2018-12-12 11:53:53 -06:00
Jeremiah C Leary 6957c0d62f Updates for issue #190
Fixed crashing issue if port mode was not defined.

  1)  port_018 now checks if mode is defined before checking if port type is lowercase
  2)  Added port_023 to check for existance of port mode
  3)  Added tests
  4)  Added documentation
2018-12-12 11:41:20 -06:00
Jeremiah C Leary 5d1881a153 Updates for issue #187
Fixed variable : alignments so process variables are not aligned between processes or with variables in the architecture declarative region.

  1)  Restricted variable_009 to only operate in the architecture declarative region
  2)  Added variable_011 to align :'s in processes
  3)  Added/Updated tests
  4)  Added and updated documentation
2018-12-12 10:28:34 -06:00
Jeremiah C Leary 3123a1ff7f Updates for issue #188
Added feature to ensure a blank line before the first "if" statement unless there is a comment.

  1)  Added tests
  2)  Added documentation
  3)  Updated tests to match new rule
2018-12-12 09:54:25 -06:00
Jeremiah C Leary 5d7a251f84 Preparing for release 0.27 2018-12-07 19:36:41 -06:00
Jeremiah C Leary df768040a4 Updates for issue #185
Added rule signal_011 to lowercase all signal names.

  1)  Added rule signal_011
  2)  Made signal_010 disabled by default
  3)  Updated documentation
  4)  Added tests
2018-12-07 18:46:34 -06:00
Jeremiah C Leary 6a39ce8dcb Fixing documentation. 2018-12-07 18:27:46 -06:00
Jeremiah C Leary e036ae8525 Updates for issue #169
Fixing code style issues.
2018-12-07 15:40:08 -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 c3717b1064 Updates for issue #170
Adding whitespace_011 to enforce at least a single space around math operators.

  1)  Added test
  2)  Added documentation
  3)  Added rule
  4)  Updated code example fixed files
2018-12-07 12:54:08 -06:00
Jeremiah C Leary 43e0259612 Updates for issue #154
Added process_030 to detect a single signal on a single line of a process sensitivity list, minus the last line.

  1)  Added test
  2)  Added rule
  3)  Added documentation
2018-12-06 17:44:32 -06:00