Commit Graph

699 Commits

Author SHA1 Message Date
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
Jeremiah C Leary 56419e0bde Updates for issue #109
Added if_030 to enforce at least one blank line after the last "end if" keyword.

  1)  Added rule
  2)  Added tests
  3)  Updated fixed code examples
  4)  Updated if spliting rules to clear the isLastEndIf line attribute
2018-12-06 16:52:35 -06:00
Jeremiah C Leary 3af2b46496 Updates for issue #109:
Blank line after "end if" keyword is now enforced.

  1)  Added test case
  2)  Updated documentation
  3)  Added rule
2018-12-03 19:53:51 -06:00
Jeremiah C Leary c031527690 Updates for issue #186
1)  Made end architecture more restrictive.
  2)  Updated tests
2018-12-03 19:26:57 -06:00
Jeremiah C Leary fd970ce76a Preparing for release 0.26 2018-12-01 11:08:54 -06:00
Jeremiah C Leary 317c728d6e Adding wait_001 rule to handle indenting of wait statements.
1)  Added tests
  2)  Added docmentation
  3)  Added rule
2018-12-01 11:03:11 -06:00
Jeremiah C Leary 2ac0e8ee8e Updates for issue #184
Added support for processs without sensitivity lists.
2018-12-01 10:09:17 -06:00
Jeremiah C Leary e2970f2023 Updates for issue #184
1)  Added type_013 rule to check for lowercase "is" keyword
  2)  Added test
  3)  Updated documentation
2018-11-29 21:40:50 -06:00
Jeremiah C Leary de63c043aa Updates for issue #184
1)  Added case_018 to check for lower case "case" keyword in "end case"
  2)  Fixed documentation for case_017
  3)  Added strip semicolon function to utilities
  4)  Updated lower case rule to strip semicolons
2018-11-29 21:26:58 -06:00
Jeremiah C Leary f8e2bc0e13 Updates for issue #184
1)  Added case_017 rule to check for lowercase end keyword in end case.
2018-11-29 21:01:23 -06:00
Jeremiah C Leary 04d960a6b9 Updates for issue #184
1)  Added case_016 to check for lowercase when keyword
2018-11-29 20:49:45 -06:00
Jeremiah C Leary 2b92cd1830 Updates for issue #184
1)  Added case_015 to check for lowercase is keyword
  2)  Refactored lower_case_rule.py to check every word in a non commented line instead of just the first.
2018-11-29 20:33:58 -06:00
Jeremiah C Leary 2788662c4d Updates for issue #184
Added case_014 to check for lowercase "case" keyword.
2018-11-29 20:10:36 -06:00
Jeremiah C Leary a479b22c3d Updates for issue #182
1)  Updated test to detect generics and ports starting with "process"
  2)  Restricted classifier to look for the whole word "process"
2018-11-29 19:49:10 -06:00
Jeremiah C Leary 9658a2d2f3 Preparing for release 0.25 2018-11-26 20:47:28 -06:00
Jeremiah C Leary d6470d0911 Updates for issue #180
Adding rule component_020:

  1)  Added test for comment alignment in component declarations
  2)  Added rule to detect and fix alignment of comments
  3)  Added documentation
2018-11-26 20:36:30 -06:00
Jeremiah C Leary 1796569713 Updates for issue #180
Adding instantiation_029:

  1)  Added test for aligning comments in instantiation declaration
  2)  Added instantiation_029
  3)  Updated documentation
2018-11-26 20:18:43 -06:00
Jeremiah C Leary ec71d25e1a Preparing for release 0.24. 2018-11-19 18:58:38 -06:00
Jeremiah C Leary d72bd1a1a6 Updates for issue #179
1)  Adding more conditions to tests to flesh out more places where types should not be classified.
2018-11-19 18:54:59 -06:00