Commit Graph

22 Commits

Author SHA1 Message Date
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 d66381f1ab Updates for issue #143:
1)  Swapped comment_001 and comment_007 to fix order execution
  2)  Updated documents
  3)  Updated tests
2018-05-18 06:28:32 -05:00
Jeremiah C Leary aa6ad0f388 Updates for issue #142:
1)  Enhanced test for comment_007
  2)  Updated comment_007 so it actually fixed the indent
2018-05-17 04:49:54 -05:00
Jeremiah C Leary 1be7b4d329 Updates for issue #138:
1)  Added comment_007 to handle comments above use keywords
  2)  Added documentation
  3)  Added tests
  4)  Updated function in check.py
2018-05-16 20:47:35 -05:00
Jeremiah C Leary a742f6c486 Refactoring rules. 2017-12-29 07:40:03 -06:00
Jeremiah C Leary 52c9037263 Refactoring indent rules. 2017-12-27 13:23:08 -06:00
Jeremiah C Leary b055aa9b1f Removing unused imports to address Codacy issues. 2017-12-24 07:32:32 -06:00
Jeremiah C Leary 98a3ee9dbd Code style updates. 2017-12-16 10:24:39 -06:00
Jeremiah C Leary f76641f115 Refactored comment rules for code climate. 2017-12-15 09:49:26 -06:00
Jeremiah C Leary 59864c2d00 Refactoring issues found by code climate. 2017-12-15 09:29:40 -06:00
Jeremiah C Leary 9d558d4df6 Updates for issue #57:
1)  Added rule comment_006
  2)  Added documentation
  3)  Added tests
2017-12-14 06:19:38 -06:00
Jeremiah C Leary b02506109f Updates for issue #16
1)  Added rule comment_005
  2)  Added documentation
  3)  Added test cases
  4)  Refactored case classification to remove indenting comments above when keywords
      a)  Updated tests
2017-12-13 22:16:07 -06:00
Jeremiah C Leary c6a211d080 Adding code examples and tests to verify fixes. 2017-12-09 12:04:49 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary b21c44d768 Updates for issue #55
Removed comment_002.
  This rule has been superceeded by specific rules checking for alignment of comments.
2017-12-08 06:21:51 -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 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 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 3337d55c52 Refactoring comment rules to ease maintainability. 2017-11-26 09:28:50 -06:00