Commit Graph

30 Commits

Author SHA1 Message Date
Jeremiah C Leary f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -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 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 5ff634025c Updates for issue #181
Refactoring more rules to support implementing in file tags.
2019-03-09 16:42:31 -06:00
Ryan Fitzsimon 79456cf1a2 Use explicit relative imports
Implicit relative imports are not supported in Python 3 (see pep-0404).

Using explicit relative imports also helps avoid name clashes.
2018-08-31 11:24:13 +10:00
Jeremiah C Leary 9278105506 Refactoring generic_005 and generic_014 2017-12-28 09:30:32 -06:00
Jeremiah C Leary 52c9037263 Refactoring indent rules. 2017-12-27 13:23:08 -06:00
Jeremiah C Leary 4ee65c23a2 Code style updates flagged by Codacy. 2017-12-23 21:22:24 -06:00
Jeremiah C Leary c3a84706e5 Refactored generic_018, instantiation_025, and instantiation_026 rules. 2017-12-23 14:31:07 -06:00
Jeremiah C Leary b2fdd4f17c Refactored utilities, generic_013, instantiation_017, and port_016 rules. 2017-12-23 14:07:57 -06:00
Jeremiah C Leary 9ea00c4c66 Updates for handling ('s not on the same line as port and generic keywords.
1)  Added generic_018, port_021, instantiation_025, and instantiation_026
  2)  Added some documentation
  3)  Added test cases
2017-12-19 20:52:38 -06:00
Jeremiah C Leary 1641642910 Refactored generic rules and added documentation. 2017-12-17 09:55:10 -06:00
Jeremiah C Leary 1df3c7b8f1 Refactoring indent rules for code climate. 2017-12-16 10:50:38 -06:00
Jeremiah C Leary 204e5bc28a Refactoring for code climate. 2017-12-16 10:19:48 -06:00
Jeremiah C Leary 70a239b107 Updates for issue #112
1)  Added constant_011, generic_017
  2)  Updated signal_010
  3)  Added documentation
  4)  Updated tests
  5)  Updated code examples
2017-12-10 16:43:16 -06:00
Jeremiah C Leary acb0c44b71 Updates for code climate:
1)  Refactored rules to reduce complexity.
2017-12-10 07:22:22 -06:00
Jeremiah C Leary 96d9fc9608 Updates for code example c16. 2017-12-09 21:05:50 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary a0d5e28482 Updates for issue #47
1)  Fix added for generic_016
  2)  Added documentation
  3)  Enhanced testing
2017-12-08 07:05:54 -06:00
Jeremiah C Leary ef5e02b64a Refactoring for code climate.
1) Fixed style issues
 2) Refactored complex functions
2017-12-01 18:26:05 -06:00
Jeremiah C Leary fe0fb074e9 Refactoring fix violations to not require _fix_violations in the rule if the rule is not fixable. 2017-12-01 05:39:58 -06:00
Jeremiah C Leary 7ed5a6c5dd Updates for issue #90
1)  moved enforce_one_space_after_word and enforce_one_space_before_word to fix.py
2017-11-28 20:41:11 -06:00
Jeremiah C Leary 4cbb53a76d Updates for issue #90
1)  Moved _fix_lower_case and _fix_upper_case to fix.py
2017-11-28 20:28:27 -06:00
Jeremiah C Leary 6dd1bca851 Updates for issue #90
1)  moved _fix_keyword_alignment to fix.py
2017-11-28 20:09:42 -06:00
Jeremiah C Leary 3302988886 Updates for issue #90
1)  Moved _fix_indent to fix.py
2017-11-28 19:59:48 -06:00
Jeremiah C Leary 3aec9ca446 Updates for issue #90
1)  Moved _is_lowercase and _is_uppercase to check.py
2017-11-28 19:43:58 -06:00
Jeremiah C Leary eee146f5c4 Updates for issue #90
1)  Moving _check_keyword_alignment to check.py
2017-11-28 19:26:34 -06:00
Jeremiah C Leary 7b1b4e64ab Updates for code climate:
1)  Refactored _ist_no_blank_line_* from rule.py into check.py
2017-11-26 16:22:23 -06:00
Jeremiah C Leary a4304575fc Refactoring for code climate:
1)  Added check.py to hold all checks.
      checks from rule.py will be moved here
  2)  Moved _check_indent to check.indent
2017-11-26 16:13:21 -06:00
Jeremiah C Leary 58e0df9fb4 Refactoring generic rules into seperate files to improve maintainability. 2017-11-25 14:46:20 -06:00