Commit Graph

678 Commits

Author SHA1 Message Date
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
Jeremiah C Leary 096abf9547 Preparing for release 0.23 2018-11-19 09:16:57 -06:00
Jeremiah C Leary 243880e87f Updates for issue #178
1)  Updating documentation to show correct boolean usage in JSON examples.
2018-11-16 22:10:01 -06:00
Jeremiah C Leary 5d218e42f5 Updates for issue #178
1)  Added tests for multiple configurations
  2)  Updated code to fix issues found by tests
2018-11-16 22:06:07 -06:00
Jeremiah C Leary 8808c464ef Updates for issue #178
1)  Added parsing of multiple configurations
2018-11-16 19:31:03 -06:00
Jeremiah C Leary 3dc50cc876 Updates for issue #178
1)  Adding documentation for multi configuration option.
2018-11-16 18:52:20 -06:00
Jeremiah C Leary 4bf0c3bb21 Updates for issue #177
ports with names starting with "type" in instantiations are not classified as a type.
2018-11-16 16:58:39 -06:00
Jeremiah C Leary 837aa36b10 Preparing for release 0.22 2018-11-15 19:30:49 -06:00
Jeremiah C Leary d1703a5f3b Updating README to match read the docs documentation. 2018-11-15 19:25:56 -06:00
Jeremiah C Leary 701c54558c Updates for issue #176
1)  Fixed mis classification of ports as types if they started with "type"
  2)  Updated tests
2018-11-15 19:15:02 -06:00
Jeremiah C Leary 19985ea81b Fixing code style issues. 2018-11-15 18:53:08 -06:00
Jeremiah C Leary 45d19397e8 Modifying if statement tests to validate rule 029 fix. 2018-11-15 18:48:07 -06:00
Jeremiah C Leary 03b6c37505 Adding more tests to improve code coverage for whitespace rule 009. 2018-11-15 18:37:12 -06:00
Jeremiah C Leary a8b4213a1f Fixing code coverage issues with classifying function returns. 2018-11-15 18:30:50 -06:00
Jeremiah Leary 5aa92fbeba
Fixed spelling. 2018-11-13 06:31:54 -06:00
Jeremiah Leary e5ccaa32a6
Merge pull request #175 from jeremiah-c-leary/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2018-11-01 23:26:28 -05:00
Jeremiah Leary 699910c370
Create CODE_OF_CONDUCT.md 2018-11-01 23:25:42 -05:00
Jeremiah C Leary 33e81c896a Preparing for release 0.21
1)  Updated release number
  2)  Added/Updated comments
2018-11-01 21:04:31 -05:00
Jeremiah Leary b56bc14260
Merge pull request #173 from ryanfitzsimon/prefer_file_args
Don't use config file_list when file args supplied
2018-11-01 20:15:08 -05:00
Jeremiah Leary ea4c8dcda1
Merge pull request #174 from ryanfitzsimon/seq_equal
Use assertSequenceEqual to compare list and range
2018-11-01 20:14:33 -05:00
Jeremiah C Leary 75f42f7cb3 Updates for issue #171
1)  Added whitespace rule 009 and whitespace rule 010 for spaces around concatentation operators.
2)  Added tests
3)  Added documentation
2018-11-01 20:11:42 -05:00
Jeremiah C Leary 95b6f907c8 Updates for issue #172
Fixed mis-classification of less than or equal to (<=) in concurrent statements:

  1)  Updated tests
2018-11-01 19:21:41 -05:00