Jeremiah C Leary
599a0bb45b
Codeclimate updates.
2019-04-10 21:23:17 -05:00
Jeremiah C Leary
aae2fc9a4e
Updates for issue #224
...
Adding case consistency checks for variable names:
1) Added documentation
2) Added tests
3) Added rule variable_011
2019-03-31 09:54:08 -05:00
Jeremiah C Leary
c314cd0430
Updates for issue #224
...
1) Added general_001 to look for inconsistent capitalization
a) Added tests
2) Updated variable_010 to ignore everything after the "range" in a variable definition
a) Updated tests
2019-03-27 22:42:58 -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
b71322773e
Updates for issue #192
...
Removing rule variable_011 because it was obsoleted by process_031
1) Updated documentation
2) Updated tests
3) Removed rule variable_011
2018-12-17 21:16:16 -06:00
Jeremiah C Leary
5d1881a153
Updates for issue #187
...
Fixed variable : alignments so process variables are not aligned between processes or with variables in the architecture declarative region.
1) Restricted variable_009 to only operate in the architecture declarative region
2) Added variable_011 to align :'s in processes
3) Added/Updated tests
4) Added and updated documentation
2018-12-12 10:28:34 -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
b08f8d6560
Refactored variable rules and added documentation.
2017-12-23 08:42:26 -06:00
Jeremiah C Leary
80ce625de6
Refactoring rules.
2017-12-17 10:18:10 -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
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
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
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
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
6c89e81f2a
Refactoring variable rules to aid in maintainability.
2017-11-26 13:32:55 -06:00