Commit Graph

35 Commits

Author SHA1 Message Date
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 522ba311a3 Refactoring rules for codeclimate. 2019-03-10 22:10:33 -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
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
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 f584accb4a Refactoring component_008, entity_008, instantiation_008, port_010. 2017-12-28 15:56:08 -06:00
Jeremiah C Leary 32997c99c3 Refactored component_002 and constant_006 rules. 2017-12-28 11:16:37 -06:00
Jeremiah C Leary 52c9037263 Refactoring indent rules. 2017-12-27 13:23:08 -06:00
Jeremiah C Leary 7ac441a603 Removed unused variables to address Codacy issues. 2017-12-24 07:21:09 -06:00
Jeremiah C Leary 4ee65c23a2 Code style updates flagged by Codacy. 2017-12-23 21:22:24 -06:00
Jeremiah C Leary 204e5bc28a Refactoring for code climate. 2017-12-16 10:19:48 -06:00
Jeremiah C Leary 5a882a7475 Refactoring for code climate. 2017-12-16 09:59:34 -06:00
Jeremiah C Leary 34d90b9749 Refactored component rules for code climate. 2017-12-16 09:37:00 -06:00
Jeremiah C Leary 796879e240 Updates for style. 2017-12-10 06:52:33 -06:00
Jeremiah C Leary c2b9c0a081 Added graphicsaccelerator code sample and updated rules. 2017-12-09 19:58:01 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary 75a783149b Updates for issue #93
1)  Added instantiation_023 and component_019 to remove comments after ports and generics
  2)  Added documentation
  3)  Added tests
2017-12-06 21:48:33 -06:00
Jeremiah C Leary 28497a587d Updates for code climate:
1)  Refactored some rules to use keyword_alignment_rule class.
2017-12-02 16:29:59 -06:00
Jeremiah C Leary f5be815e61 Updates for code climate:
1)  Refactored all insert line rules to use new classes.
2017-12-02 13:01:51 -06:00
Jeremiah C Leary 29d9e75d41 Updates for code climate:
1)  Created rules for inserting lines above and below.
2017-12-02 11:12:22 -06:00
Jeremiah C Leary 0d933f04df Updates for code climate:
1)  Refactored code with suggestions from code climate
  2)  Moved change_word from fix.py to utilities.py
2017-12-02 06:59:54 -06:00
Jeremiah C Leary dcfd6aa824 Updates for issue #90
1)  Moved _insert_blank_line_above and _insert_blank_line_below to fix.py
2017-11-29 06:57:16 -06:00
Jeremiah C Leary 618eeb135e Updates for issue #90
1)  move _remove_blank_lines_above and _remove_blank_lines_below to fix.py
2017-11-29 06:40:57 -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 cdd8543428 Updates for issue #90
1)  Moved _is_single_space_after and _is_single_space_before to check.py
2017-11-28 19:49:58 -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 ead0b62c68 Updates for code climate:
1)  Refactored _is_blank_line_* from rule.py to check.py
2017-11-26 16:30:50 -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 58f06c9d0f Refactoring component rules to aid in maintainability. 2017-11-26 09:42:47 -06:00