Commit Graph

796 Commits

Author SHA1 Message Date
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
Jeremiah C Leary ab5445cbe6 Removing unused import identified by codacy. 2019-03-19 22:18:40 -05:00
Jeremiah C Leary 352f534084 Refactored the following rules for codeclimate:
generic_010
  instantiation_007
  type_008
2019-03-19 22:11:14 -05:00
Jeremiah C Leary aebe2de87f Fixing style issues flagged by code climate. 2019-03-19 21:54:22 -05:00
Jeremiah C Leary 5e5a7b46d4 Refactoring process_019 and generate_012 for codeclimate. 2019-03-19 21:16:43 -05:00
Jeremiah C Leary 9b3349f4c3 Codacy updates. 2019-03-19 21:04:11 -05:00
Jeremiah C Leary 9dc6af4b18 Updates for issue #217
Added python 3 to setup.py
2019-03-17 11:13:59 -05:00
Jeremiah C Leary 590463c9f2 Updates for issue #217:
Updated tests for changes between Python 2.7 and Python 3.

  1)  Fixed issue with ranges being used as initial lists
  2)  Fixed issue with subprocess returning bytes instead a string
2019-03-17 11:05:30 -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 522ba311a3 Refactoring rules for codeclimate. 2019-03-10 22:10:33 -05:00
Jeremiah C Leary 2384a6c840 Refactored check.py to improve readability. 2019-03-10 21:38:28 -05:00
Jeremiah C Leary e086667926 Fixing GIFs links in README.md 2019-03-10 20:47:26 -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 5492ab2564 Updates for Codacy.
1)  Removing more trailing whitespace
2019-03-10 12:29:11 -05:00
Jeremiah C Leary 1948b70444 Updates for Codacy issues:
Removing trialing whitespaces.
2019-03-10 12:19:16 -05:00
Jeremiah C Leary 6a04dae1c3 Updates for issue #181
1)  Adding vsg off checking to rules which override the base rule class analysis method.
2019-03-10 11:50:46 -05:00
Jeremiah C Leary 7540896dad Updates for issue #181:
1)  Added tests for vsg_off and vsg_on code tags
  2)  Added _is_vsg_off method to rule class
  3)  Added checking of vsg_off to analyze method in rule class
2019-03-10 11:38:15 -05:00