Jeremiah Leary
ba5ae10b8e
Updates for issue #393 :
...
Adding two new library rules:
1) Added rules library_010 and library_011
2) Added tests
3) Added documentation
2020-07-26 14:48:02 -05:00
Jeremiah Leary
abe3cb3418
Updates for issue #393 :
...
Refactoring of library and base rules:
1) Most library rules refactored to use new base item rules
2) Base item rules refactored to use the region method on vhdlFile
3) Tests updated
4) Documentation updated
2020-07-26 12:54:43 -05:00
Jeremiah C Leary
6b4a45791d
Updates for issue #362
...
Changing utils.get_violation_linenumber to utils.get_violation_line_number.
2020-04-01 21:11:38 -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
1ba47f234c
Move comment rule 001 to library rule 009.
2020-03-29 09:21:15 +02:00
Michał Kruszewski
e3805c9d54
Replace extract_first_keyword calls with extract_words function.
2020-01-20 21:17:41 +01:00
Michał Kruszewski
9f1389c8e8
Fix printing solution for case rules.
2019-10-15 15:57:01 +02:00
Michał Kruszewski
c962881e7a
Make _extract abstract method for case_rule class.
2019-10-07 20:30:27 +02:00
Michał Kruszewski
694625b024
Make case rule 014 use case_rule as a base.
2019-10-07 16:13:27 +02:00
Michał Kruszewski
b449cd7f47
Make library rule 005 use case_rule as a base.
2019-10-07 15:19:08 +02:00
Michał Kruszewski
8e2a136658
Make library rule 004 use case_rule as a base.
2019-10-07 15:12:35 +02: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
d94ab7b542
Refactoring library rules.
2017-12-21 20:40:49 -06:00
Jeremiah C Leary
80ce625de6
Refactoring rules.
2017-12-17 10:18:10 -06:00
Jeremiah C Leary
5a882a7475
Refactoring for code climate.
2017-12-16 09:59:34 -06:00
Jeremiah C Leary
4c6a52b123
Adding documentation.
...
Refactored several rules.
2017-12-10 08:33:17 -06:00
Jeremiah C Leary
69f0a3fa5c
Updates for code climate:
...
1) Refactored library rules
2) Created single_space_after_rule
2017-12-03 06:29:33 -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
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
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
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
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
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
c19937e7dc
Refactoring library rules to aid in maintainability.
2017-11-26 11:30:43 -06:00