Michał Kruszewski
c4305597f4
Improve keyword_alignment fix function.
...
Iterate over violations not over dFix dictionary.
2020-02-12 20:42:31 +01:00
Will Kamp
3fc726654e
Various changes so that hyphens inside double quotes are not treated as a comment marker.
2020-01-08 17:46:21 +13:00
Jeremiah C Leary
a374867c40
Refactoring fix.upper_case and fix.lower_case to remove unneccessary input.
2019-10-16 21:36:30 -05:00
Jeremiah C Leary
52ceb5c34a
Updates for issue #242
...
Added new functions to handle checking and fixing multiple spaces.
The original functions which checked single spaces call the new functions.
2019-09-07 17:35:20 -05:00
Jeremiah C Leary
5f24ef6f9b
Updates for issue #241 :
...
The spacing after "signal", "constant", "file", "type", and "subtype" keywords is configurable.
1) Added tests
2) Refactored code to allow for configurable spacing
3) Added subtype_003 rule
4) Updated documentation
2019-06-09 11:48:07 -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
e85444c7d0
Updates for issue #200
...
Added fix for bug if "is" was in the type name it would get a space in front of it due to rule type_006.
2019-02-10 20:04:20 -06:00
Jeremiah C Leary
59d097ed73
Updates for issue #192
...
Worked out all the issues with the new rule.
1) Updated documentation
2) Updated check and fix classes to support new rule
3) Updated tests
4) Updated rule to work correctly
2018-12-17 19:31:43 -06:00
Jeremiah C Leary
03a29f0435
Updates for issue #139 :
...
1) Index in port assignments are not flagged by port_010
2) The port name is uppercased if index is present
2018-05-05 20:17:02 -05:00
Jeremiah C Leary
d6068f3fb9
Adding API documentation.
2017-12-29 07:14:36 -06:00
Jeremiah C Leary
37de340900
Updates for issue #130
...
1) Refactored check and fix functions to take an **unless** parameter to allow for a single blank line.
2) Updated if rules 006, 007, 008, 010, and 011.
3) Updated tests
2017-12-26 17:05:00 -06:00
Jeremiah C Leary
98a3ee9dbd
Code style updates.
2017-12-16 10:24:39 -06:00
Jeremiah C Leary
34d90b9749
Refactored component rules for code climate.
2017-12-16 09:37:00 -06:00
Jeremiah C Leary
5b57d1943e
Style updates.
2017-12-02 18:15:21 -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
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
0d5a0695be
Updates for issue #90
...
1) Refactored fix.lower_case and fix.upper_case.
2017-11-28 20:51:30 -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
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