Commit Graph

832 Commits

Author SHA1 Message Date
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 90339e343a Adding Contributing section. 2019-04-29 20:35:57 -05:00
Jeremiah C Leary 39ace2085b Updates for issue #229:
Reviewed documentation at https://msg.pyyaml.org/load and decided to update to full_load.
2019-04-29 20:29:00 -05:00
Jeremiah C Leary 836f91ed32 Fixing links in TOC. 2019-04-12 13:22:54 -05:00
Jeremiah C Leary f6314a9e41 Adding table of contents to README.md 2019-04-12 13:20:45 -05:00
Jeremiah C Leary ddf19ddfd0 Updating documentation. 2019-04-11 08:10:37 -05:00
Jeremiah C Leary a1c2af20a3 Codeclimate updates. 2019-04-10 21:45:36 -05:00
Jeremiah C Leary e49349fc76 Codeclimate updates. 2019-04-10 21:28:55 -05:00
Jeremiah C Leary 599a0bb45b Codeclimate updates. 2019-04-10 21:23:17 -05:00
Jeremiah C Leary f02059e105 Updates for Codacy 2019-04-10 21:07:08 -05:00
Jeremiah C Leary 34858a22e7 Updates for codacy issues. 2019-04-10 20:53:54 -05:00
Jeremiah C Leary 016f65d6b0 Updates for issue #226
Refactoring the following rules for code coverage:

   architecture_024
   instantiation_010
   port_011
   process_018
   process_031
   sequential_004
2019-04-10 20:21:11 -05:00
Jeremiah C Leary dabedaa26f Merge branch 'master' of https://github.com/jeremiah-c-leary/vhdl-style-guide 2019-04-10 08:29:26 -05:00
Jeremiah C Leary 74391f67d2 Updates for issue #226
Refactoring entity_017, generic_012, and generic_015 to use _pre_analyze method.
2019-04-10 08:27:03 -05:00
Jeremiah C Leary ead143be3d Updates for issue #226
Refactoring concurrent_003 to use _pre_analyze.
2019-04-10 08:17:00 -05:00
Jeremiah C Leary e01ca5463b Updates for issue #226
Added _pre_analyze method to rule class.
Refactored case_011 rule to use _pre_analyze.
2019-04-10 08:12:25 -05:00
Jeremiah C Leary 546d8fe2c7 Adding comments to for loop classifier. 2019-04-10 07:56:03 -05:00
Jeremiah Leary 7073aebd19
Merge pull request #228 from deepcommit/Fix_PYTHON_E225_across_repo_on_master
Fixed 11 issues of type: PYTHON_E225 throughout 2 files in repo.
2019-04-10 07:24:08 -05:00
Deepcommit 2b3c0bcfc8 Fixed PYTHON_E225 issues in vsg/tests/junit/test_junit.py 2019-04-09 17:45:27 -07:00
Deepcommit 12ce01c0b3 Fixed PYTHON_E225 issues in vsg/tests/line/test_line.py 2019-04-09 17:45:25 -07: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 175621833c Updates for issue #226
Refactoring code tags logic to improve code coverage.
2019-04-05 07:57:24 -05:00
Jeremiah C Leary 806688b517 Updates for issue #226
Excluding all files under vsg/tests
2019-04-05 07:25:11 -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 08e3680b70 Updates for Codacy:
1)  Removed trailing whitespace
  2)  Removed unused general tests
2019-03-31 10:03:00 -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 c6af4eae60 Removing unused file. 2019-03-30 20:14:32 -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 6c33eab056 Updates for issue #224
Fixed reporting so it lists the words that do not match case sensitivity.
2019-03-28 20:13:09 -05:00
Jeremiah C Leary 35abdb6626 Updates for issue #224
Added _get_solution method to rule base class.
This method can now be overridden by specific rules.
2019-03-28 19:59:50 -05:00
Jeremiah C Leary c314cd0430 Updates for issue #224
1)  Added general_001 to look for inconsistent capitalization
      a)  Added tests
  2)  Updated variable_010 to ignore everything after the "range" in a variable definition
      a)  Updated tests
2019-03-27 22:42:58 -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 f334f12c21 Updates for issue #224
Adding updated test for extract_non_keywords.
2019-03-27 21:28:02 -05:00
Jeremiah C Leary 402ca5f55f Renaming example formatting to gallery. 2019-03-27 21:27:40 -05:00