Commit Graph

251 Commits

Author SHA1 Message Date
Jeremiah C Leary 3623151b5b Updates for issue #246
1) Added version argument to display version.
2) Refactored version information to reside in a single file.
   a)  setup.py references this file
   b)  conf.py references this file
   c)  version argument references this file
2019-06-28 07:48:37 -05:00
Jeremiah C Leary 5c2df4e44b Preparing for release 0.38. 2019-06-09 21:11:38 -05:00
Jeremiah C Leary 8c8d89b3e6 Updates for issue #231:
Added more documentation on how to write a rule.
Added comments to methods of rule class.
2019-06-09 15:29:18 -05:00
Jeremiah C Leary 1794194dff Adding instructions on how to align constant, signal, type, subtype, and file declarations. 2019-06-09 15:28:20 -05:00
Jeremiah C Leary 5f24ef6f9b Updates for issue #241:
The spacing after "signal", "constant", "file", "type", and "subtype" keywords is configurable.

  1)  Added tests
  2)  Refactored code to allow for configurable spacing
  3)  Added subtype_003 rule
  4)  Updated documentation
2019-06-09 11:48:07 -05:00
Jeremiah C Leary a7d0aa556d Updates for issue #237
Added rule constant_014 to handle multiline non array constants:

  1)  Added documentation
  2)  Fixed rule constant_012 so it does not fire on non array constants
  3)  Added rule constant_014
  4)  Added tests
  5)  Added classification of array constants
2019-06-08 11:22:31 -05:00
Jeremiah C Leary 7c68c55ca5 Updates for issue #236:
Updated assert_001 to indent everything after the assert statement.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated assert_001 rule
2019-06-07 22:32:08 -05:00
Jeremiah C Leary 46d57be6db Updates for issue #239:
Clarified constant_010 to state a single space before the :=.

  1)  Updated documentation
  2)  Updated tests to cover more than one space before the :=
  3)  Updated solution for constant_010
2019-06-07 22:16:21 -05:00
Jeremiah C Leary 50f90c2f03 Updates for issue #240:
Updated instantiation_004 rule to allow for comments on the line above an instantiation.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rule
2019-06-07 21:54:12 -05:00
Jeremiah C Leary 4590726788 Updates for issue #233
Added rules for comments above elsif and else keywords:

  1)  Added documentation
  2)  Added tests
  3)  Added comment_008 and comment_009 rules
2019-06-07 21:40:59 -05:00
Jeremiah C Leary fcb59f21d4 Updates for issue #238:
Added generic_019 to check for blank lines above the );.

  1)  Added documentation
  2)  Added tests
  3)  Refactored generic tests to use setUp method
  4)  Implemented rule
2019-06-06 20:08:04 -05:00
Jeremiah C Leary e6240f87d0 Updates for issue #238:
Added rule to check for blank lines before the ); for port maps.

  1)  Added documentation
  2)  Added tests
  3)  Refactored port tests and added a setUp proc
  4)  Added rule
2019-06-06 18:44:49 -05:00
Jeremiah C Leary 7274b684d2 Preparing for release 0.37. 2019-04-29 20:38:10 -05:00
Jeremiah C Leary ddf19ddfd0 Updating documentation. 2019-04-11 08:10:37 -05:00
Jeremiah C Leary b69d90e5ad Preparing for release 0.36 2019-04-09 19:42:37 -05:00
Jeremiah C Leary 81ce015d1c Updates for issue #227
Adding three rules:  for_loop_003, for_loop_004, and for_loop_005.

  1)  Added documentation for new rules
  2)  Added tests for new rules
  3)  Refactored tests for rules 001 and 002
  4)  Added rules 003, 004, and 005
2019-04-09 19:36:50 -05:00
Jeremiah C Leary 51a4aac729 Updates for issue #227
Adding check for loop label.
2019-04-09 18:58:02 -05:00
Jeremiah C Leary bdcb448bfa Updates for issue #225
Minor updates to documentation.
2019-04-02 21:35:40 -05:00
Jeremiah C Leary 63787d4c78 Updates for issue #225
Added rules to handle the component keyword in component instantiations:

  1)  Enforce component keyword to lowercase
      a)  Added documentation
      b)  Added test
      c)  Added rule instantiation_031
      d)  This rule is disabled by default
  2)  Enforce a single space after the component keyword
      a)  Added documentation
      b)  Added test
      c)  Added rule instantiation_032
      d)  This rule is disabled by default
  3)  Remove component keyword
      a)  Added documentation
      b)  Added test
      c)  Added rule instantiation_033
2019-04-02 21:26:13 -05:00
Jeremiah C Leary d2a226b855 Preparing for release 0.35 2019-03-31 10:07:03 -05:00
Jeremiah C Leary aae2fc9a4e Updates for issue #224
Adding case consistency checks for variable names:

  1)  Added documentation
  2)  Added tests
  3)  Added rule variable_011
2019-03-31 09:54:08 -05:00
Jeremiah C Leary 080be8ae3c Updates for issue #224
Adding case consistency checks for procedure names:

  1)  Added documentation
  2)  Added tests
  3)  Added rule procedure_007
2019-03-31 09:28:16 -05:00
Jeremiah C Leary f2da8b4fe0 Updates for issue #224
Adding consistency case checks for function names.

  1)  Added documentation
  2)  Added tests
  3)  Added rule function_010
2019-03-31 09:10:41 -05:00
Jeremiah C Leary 8e54137964 Updates for issue #224
Adding consistent case checks for subtypes:

  1)  Added documentation
      a)  Updated subtype_001 documentation
      b)  Added subtype_002 documentation
  2)  Added tests
  3)  Added rule subtype_002
2019-03-31 08:50:40 -05:00
Jeremiah C Leary f9c6a495b5 Updates for issue #224
Adding case consistency checks for type definitions:

  1)  Added documentation
  2)  Added tests
  3)  Added rule type_014
2019-03-31 08:22:28 -05:00
Jeremiah C Leary ac04afe067 Updates for issue #224
Adding case consistency checks for constants.

  1)  Added documentation
  2)  Added tests
  3)  Added rule constant_013
2019-03-31 07:38:35 -05:00
Jeremiah C Leary 0c87b5bb70 Updates for issue #224
Switched general_001 to signal_014:

  1)  Removed rule general_001
      a)  Removed documentation
      b)  Removed tests
      c)  Removed rule
  2)  Added signal_014 to validate signal names are consistently cased
      a)  Added documentation
      b)  Added tests
      c)  Added rule signal_014
      d)  Added extract_signal_names procedure in utils.py
2019-03-30 20:11:13 -05:00
Jeremiah C Leary c754653534 Updates for issue #224
Added documentation for new general_001 rule to check capitalization.
Fixed renaming of extract_keywords to extract_non_keywords.
2019-03-27 21:40:49 -05:00
Jeremiah C Leary 402ca5f55f Renaming example formatting to gallery. 2019-03-27 21:27:40 -05:00
Jeremiah C Leary b287d7cd92 Fixing code example widths.
Minor grammar updates.
2019-03-24 22:07:50 -05:00
Jeremiah C Leary a91f5bb743 Updates for issue #223
Adding documentation for new --output_configuration command line argument
2019-03-24 21:56:48 -05:00
Jeremiah C Leary a1904b6f65 Updates for issue #222
Added code examples to documentation.
2019-03-24 09:49:59 -05:00
Jeremiah C Leary 0a4946ae06 Preparing for release 0.34 2019-03-23 08:55:47 -05:00
Jeremiah C Leary f906b3890c Reviewing and updating documentation. 2019-03-23 08:49:38 -05:00
Jeremiah C Leary 74778a393d Updates for issue #220:
Completed bug fix:

  1)  Added rule procedure_006
      a)  Added documentation
      b)  Added test
      c)  Added rule
  2)  Fixed misclassification of procedure parameters as variable assignments
      a)  Enhanced tests for procedures
      b)  Enhanced tests for variable_assignments
      c)  Fixed variable_assignment classifier to ignore component parameters
2019-03-23 07:29:22 -05:00
Jeremiah C Leary 1a0e98a2d5 Combining whitespace_009 and whitespace_010 to improve code climate.
1)  Updated tests
  2)  Updated documentation
  3)  Removed whitespace_009
2019-03-21 18:20:23 -05:00
Jeremiah C Leary cdeae30227 Updates for issue #216
Adding documentation for how to contribute to the project.
2019-03-12 21:36:34 -05:00
Jeremiah C Leary 755acc7aa2 Updates for issue #218
Adding documentation about integrating VSG with VIM.
2019-03-12 20:49:59 -05:00
Jeremiah C Leary 444881444b Adding GIFs to README.md 2019-03-10 20:43:14 -05:00
Jeremiah C Leary 61cece2eff Preparing for release 0.33 2019-03-10 12:35:19 -05:00
Jeremiah C Leary ba1e447c3c Fixing issue in if statement documentation. 2019-03-10 08:27:56 -05:00
Jeremiah C Leary 07bffa81c7 Updates for issue #181:
Adding documentation for code tags.
2019-03-10 08:27:17 -05:00
Jeremiah C Leary 0cfb0f0e5c Updates for issue #215:
Moving the else keyword in a when statement.

  1)  Added documentation for the new rule
  2)  Added tests
  3)  Added rule to move the else keyword if it is at the beginning of a line.
2019-03-09 12:56:59 -06:00
Jeremiah C Leary 40206bbac0 Updates for issue #213
Adding documentation about YAML files.
2019-03-09 11:23:00 -06:00
Jeremiah C Leary cd13dff27f Preparing for release 0.32 2019-03-02 15:28:49 -06:00
Jeremiah C Leary 43d63c6b3b Updating documentation. 2019-03-02 15:26:57 -06:00
Jeremiah C Leary a974530bb5 Updates for issue #204
Added rule to handle generate label and generate keyword not on the same line:

  1)  Added generate_015 to flag label and keyword not on the same line
  2)  Added tests
  3)  Added documentation
  4)  Improved classification of generates to detect label and keyword not on the same line

NOTE:  This is currently not fixable.
2019-03-02 08:57:01 -06:00
Jeremiah C Leary 47522899da Adding glob example to 'file_list' configurationl. 2019-02-24 14:07:38 -06:00
Jeremiah C Leary 0757168055 Fixing typo. 2019-02-24 14:05:22 -06:00
Jeremiah C Leary 27d86f58c4 Updates for issue #201
Globbing of 'file_list' in configurations are now supported.
2019-02-24 13:58:02 -06:00
Jeremiah C Leary fa3333082b Updates for issue #212
Adding rule instantiation_030 to enforce a single space after => operator in generic maps.

  1)  Added tests
  2)  Added documentation
  3)  Added rule
2019-02-24 10:39:28 -06:00
Jeremiah C Leary 15d39274c3 Updates for issue #206
1)  Fixing Codacy issues
2019-02-24 09:42:29 -06:00
Jeremiah C Leary 51d3822ed5 Preparing for release 0.31 2019-02-17 10:02:55 -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 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 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 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 ac82da0fa8 Preparing for release 0.30 2018-12-18 09:43:51 -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 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 2f7509f753 Preparing for release 0.28 2018-12-12 12:00:03 -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 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 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 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 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 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 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 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 3dc50cc876 Updates for issue #178
1)  Adding documentation for multi configuration option.
2018-11-16 18:52:20 -06:00
Jeremiah C Leary 837aa36b10 Preparing for release 0.22 2018-11-15 19:30:49 -06:00
Jeremiah Leary 5aa92fbeba
Fixed spelling. 2018-11-13 06:31:54 -06: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 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 0a4b99b3e5 Preparing for release 0.20wq 2018-09-22 09:25:53 -05:00
Jeremiah C Leary 738ff06054 Fixing documentation warnings. 2018-09-22 09:19:52 -05:00
Jeremiah C Leary 937ff79e13 Updates for issue #168
1)  Added handling of files being passed that do not exist
  2)  Updated documentation
  3)  Updated tests
2018-09-22 09:07:25 -05:00
Jeremiah C Leary ce8a1ec582 Preparing for release 0.18 2018-09-13 22:32:06 -05:00
Jeremiah C Leary 7c3b12c28f Preparing for release 0.17 2018-08-28 14:18:43 -05:00
Jeremiah C Leary 7f4230fddb Updates for issue #158:
1)  Allowing comments on line before case keyword
  2)  Updated tests
  3)  Updated documentation
2018-08-28 14:14:52 -05:00
Jeremiah C Leary 5a12742643 Preparing for release 0.16 2018-08-26 17:14:26 -05:00
Jeremiah C Leary a31e4fadf1 Updating overview documentation. 2018-08-26 17:06:05 -05:00