Jeremiah C Leary
599a0bb45b
Codeclimate updates.
2019-04-10 21:23:17 -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
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
f42e698c31
Updates for issue #219
...
Changed utilities to utils.
2019-03-23 07:43:53 -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
a142f78ef2
Updates for issue #133 :
...
1) Updated classification of functions.
2) Updated tests
2017-12-30 12:27:23 -06:00
Jeremiah C Leary
dd88efba0d
Refactored classifiers and function_009.
2017-12-27 15:00:41 -06:00
Jeremiah C Leary
52c9037263
Refactoring indent rules.
2017-12-27 13:23:08 -06:00
Jeremiah C Leary
464004cae6
Fixing style issues for Codacy.
2017-12-25 15:09:09 -06:00
Jeremiah C Leary
86ec8e697e
Updates for issue #84
...
1) Added function_008 and function_009
2) Added tests
3) Added documentation
2017-12-25 12:45:01 -06:00
Jeremiah C Leary
9d59246cea
Style updates for Codacy.
2017-12-23 21:47:07 -06:00
Jeremiah C Leary
53e193cb7e
Refactoring function rules and adding documentation.
2017-12-16 16:55:57 -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
bf92c91551
Updates for codestyle.
2017-12-08 19:48:15 -06:00
Jeremiah C Leary
09d9de4473
Updates for issue #79
...
1) Added function_006 to enforce a blank line above functions
2) Added function_007 to enforce a blank line below functions
2017-12-02 18:49:10 -06:00
Jeremiah C Leary
6aee8bad9b
Updates for issue #90
...
1) Moved _get_word and _get_first_word from rule.py to utilities.py
2017-11-30 06:33:49 -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
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
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
29ad012cfc
Refactored function rules to aid in maintainability.
2017-11-26 10:34:58 -06:00