Commit Graph

814 Commits

Author SHA1 Message Date
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
Jeremiah C Leary c58225f1b8 Updates for issue #224
Adding more vhdl reserved words.
Renamed extract_keywords to extract_non_keywords.
2019-03-27 21:21:59 -05:00
Jeremiah C Leary f98742557e Updates for issue #224
Added extract_keywords procedure to utils
Added tests

NOTE:  This still needs work.
2019-03-25 20:55:26 -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 70da1d4b01 Updates for issue #223
Refactored get_configuration of the base rule class.
It now reports attributes in the self.configuration list.
This allows individual rules to add new configuration attributes without affecting the base class.
2019-03-24 21:51:54 -05:00
Jeremiah C Leary 1d53fa7966 Updates for issue #223
Added local rules to output configuration.
Added current working directory to output configuration.
2019-03-24 21:29:49 -05:00
Jeremiah C Leary 381531d4a1 Updates for issue #223
Removing rule id from get_configuration.
Adding get_configuration to rule_list class.
Added writing of configuration to output json file.
2019-03-24 21:18:56 -05:00
Jeremiah C Leary 646e6e2ca5 Updates for issue #223
Added get_configuration to rule base class.
2019-03-24 20:52:04 -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 5cacc551ef Updates for issue #221:
Fixing function_003 violation for functions without parameters.

  1)  Added test to detect bug
  2)  Updated rule to only check if there are any parameters on the function.
2019-03-23 19:47:20 -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 b70e83b017 Updates for codacy. 2019-03-23 08:13:49 -05:00
Jeremiah C Leary f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -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 65159fcb0b Updates for issue #220
Adding test case to procedure tests.

  1)  Updated meaning of isProcedureParameterEnd.
2019-03-22 17:52:04 -05:00
Jeremiah C Leary 6f7ae69e55 Updates for issue #220:
Invalid classification of procedure "begin" keyword as a process "begin" keyword.

  1)  Updated tests to include testcase
  2)  Updated code to handle testcase
2019-03-22 17:26:42 -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