Commit Graph

26 Commits

Author SHA1 Message Date
Jeremiah Leary 65ed94baae Refactoring rule variable_004 for new parser. 2020-11-01 10:45:48 -06:00
Jeremiah Leary aa1398da77 Refactoring variable_assignment rules for new parser. 2020-10-18 17:43:36 -05:00
Jeremiah C Leary b9abdf8a57 Updates for issue #362:
Updated rules to use consistent violation dictionary:

  1)  Updated check.indent_of_comments_above to use the violation dictionary
  2)  Updated rules to use the violation dictionary
  3)  Updated tests
2020-03-31 20:09:51 -05:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary 9c65ccbe56 Updates for issue #335
Updated variable_assignment rules to use a dictionary for the violations list.

  1)  Updated code
  2)  Updated tests
2020-02-16 10:00:47 -06:00
Jeremiah C Leary aca83b6b03 Updates for issue #335
Updated rules using the single_space_before_character_rule to use dictionaries in the violation attribute.

  1)  Updated tests
  2)  Updated code
2020-02-15 19:13:40 -06: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 2fd456aec3 Updates for issue #181
Refactoring rules to support implementing in file tags.
2019-03-09 15:38:39 -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 a742f6c486 Refactoring rules. 2017-12-29 07:40:03 -06:00
Jeremiah C Leary b055aa9b1f Removing unused imports to address Codacy issues. 2017-12-24 07:32:32 -06:00
Jeremiah C Leary 6740d622b0 Refactored variable_assignment_005. 2017-12-22 16:48:53 -06:00
Jeremiah C Leary 26efe94052 Refactored variable_assignment rules and added documentation. 2017-12-22 16:17:37 -06:00
Jeremiah C Leary 1df3c7b8f1 Refactoring indent rules for code climate. 2017-12-16 10:50:38 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -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 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 723ed891f7 Updates for issue #90
1)  moved _fix_multiline_alignment to fix.py
2017-11-28 20:14:01 -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 b7a568d537 Updates for issue #90
1)  Moved _check_multiline_alignment to check.py
2017-11-28 19:32:53 -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 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 7e67dcdf29 Refactoring variable assignment rules to aid in maintainability. 2017-11-26 13:27:33 -06:00