Jeremiah Leary
5efc4c5d1b
Refactored rule architecture_004 to use new parser.
...
Added token_case rule to support other case rules.
Improved testing of architecture_004.
2020-09-20 12:28:09 -05:00
Jeremiah Leary
6c44ef62f7
Convertering rule whitespace_003 to new parser.
2020-09-20 10:19:48 -05:00
Jeremiah Leary
ffaa52ce6d
Merge branch 'master' into issue-393
2020-07-30 20:45:48 -05:00
Jeremiah Leary
862b5aab77
Merge branch 'master' into issue-402
2020-07-27 20:52:53 -05:00
Jeremiah Leary
4468defa09
Updates for issue #393 :
...
1) Refactored new base rules:
a) Including debug message
b) Fixed reporting of solutions
2) Updated tests
2020-07-23 20:51:27 -05:00
Jeremiah Leary
3aeca176d7
Updates for issue #414 :
...
Adding debug output capabilities:
1) Added --debug CLA
NOTE: Tests were not updated
NOTE: Documentation was not updated
(cherry picked from commit a88f44d8ad1fd0570c550b842a50e274aaf69046)
2020-07-18 12:13:59 -05:00
Jeremiah Leary
095377afbf
Updates for issue #402
...
Refactored code to make it easier to maintain.
2020-07-04 15:34:18 -05:00
Jeremiah Leary
da0f615cea
Updates for issue #402
...
Adding severity to rule and output configurations.
2020-07-04 14:07:37 -05:00
Jeremiah Leary
d164cba484
Updates for issue #402 :
...
Adding rule severity feature:
1) Added documentation
2) Code updates
a) Added new module vsg.severity
b) Upated code to handle rule severities
3) Added tests vsg/tests/severity
2020-07-04 13:55:15 -05:00
Jeremiah C Leary
125365fe13
Updates for issue #354 :
...
Removing unused code identified by Codacy.
2020-03-25 17:24:43 -05:00
Jeremiah C Leary
443af36e3f
Updates for issue #354
...
Fixing documentation.
2020-03-25 17:20:18 -05:00
Jeremiah C Leary
aaa1d450e8
Updates for issue #354 :
...
Fixing issue identified by codeclimate.
2020-03-25 17:15:07 -05:00
Jeremiah C Leary
4437e19f37
Updates for issue #354
...
Changed VSG output format to improve readability:
1) Updated documentation
2) Refactored rule and rule_list to move reporting to new report module
a) Removed rule.report_violations method
b) Added rule.get_violations_at_line method
3) Added vsg.report module
a) Added individual VSG and syntastic output files
4) Updated tests
2020-03-25 16:34:22 -05:00
Jeremiah C Leary
955c60a5a4
Updates for issue #335
...
Updated ? rules to use violation dictionary for violation list.
1) Updated code
2) Updated tests
2020-02-16 21:34:05 -06:00
Jeremiah C Leary
a918976c22
Updates for issue #278 :
...
Added subphases to allow rules within a phase to be executed in the proper order.
1) Updated documentation
2) Added subphases to rule_list.fix() method
2019-11-27 07:44:27 -06:00
Jeremiah C Leary
8c8d89b3e6
Updates for issue #231 :
...
Added more documentation on how to write a rule.
Added comments to methods of rule class.
2019-06-09 15:29:18 -05:00
Jeremiah C Leary
e01ca5463b
Updates for issue #226
...
Added _pre_analyze method to rule class.
Refactored case_011 rule to use _pre_analyze.
2019-04-10 08:12:25 -05:00
Jeremiah C Leary
35abdb6626
Updates for issue #224
...
Added _get_solution method to rule base class.
This method can now be overridden by specific rules.
2019-03-28 19:59:50 -05:00
Jeremiah C Leary
70da1d4b01
Updates for issue #223
...
Refactored get_configuration of the base rule class.
It now reports attributes in the self.configuration list.
This allows individual rules to add new configuration attributes without affecting the base class.
2019-03-24 21:51:54 -05:00
Jeremiah C Leary
381531d4a1
Updates for issue #223
...
Removing rule id from get_configuration.
Adding get_configuration to rule_list class.
Added writing of configuration to output json file.
2019-03-24 21:18:56 -05:00
Jeremiah C Leary
646e6e2ca5
Updates for issue #223
...
Added get_configuration to rule base class.
2019-03-24 20:52:04 -05:00
Jeremiah C Leary
7540896dad
Updates for issue #181 :
...
1) Added tests for vsg_off and vsg_on code tags
2) Added _is_vsg_off method to rule class
3) Added checking of vsg_off to analyze method in rule class
2019-03-10 11:38:15 -05:00
Jeremiah C Leary
017b41bb03
Updates for issue #181
...
Refactoring base rule class so it iterates through the lines of a file.
2019-03-09 15:07:25 -06:00
Jeremiah C Leary
edcea7f577
Updates for issue #151 :
...
1) Added new command line parameter to support multiple outputs
a) vsg
b) syntastic
2) Updated documentation
3) Updated tests
2018-06-28 21:56:40 -05:00
Jeremiah C Leary
c3eeef5110
Updates for issue #131 :
...
1) Added "file_list" parsing in configuration file
2) Added ability to expand environment variables
3) Updated documentation
2018-05-17 05:52:41 -05:00
Jeremiah C Leary
dbc744e19f
Updates for code coverage on rule.py
2017-12-28 08:54:06 -06:00
Jeremiah C Leary
333d97aa87
Adding no cover pragma to rule.py
2017-12-28 08:41:09 -06:00
Jeremiah C Leary
5db4aee839
Adding tests to improve coverage of rule.py
2017-12-28 08:37:46 -06:00
Jeremiah C Leary
8920f6d1ac
Refactored package_009.
2017-12-27 20:03:40 -06:00
Jeremiah C Leary
b055aa9b1f
Removing unused imports to address Codacy issues.
2017-12-24 07:32:32 -06:00
Jeremiah C Leary
9d59246cea
Style updates for Codacy.
2017-12-23 21:47:07 -06:00
Jeremiah C Leary
d9ac954028
Updates for code style.
2017-12-08 20:00:47 -06:00
Jeremiah C Leary
5b57d1943e
Style updates.
2017-12-02 18:15:21 -06:00
Jeremiah C Leary
fe0fb074e9
Refactoring fix violations to not require _fix_violations in the rule if the rule is not fixable.
2017-12-01 05:39:58 -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
a960dc68cb
Updates for issue #90
...
1) Created utilities.py
2) Moved _split_line_before_word and _split_line_after_word from rule.py to utilities.py
2017-11-30 06:27:23 -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
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
Jeremiah C Leary
cdd8543428
Updates for issue #90
...
1) Moved _is_single_space_after and _is_single_space_before to check.py
2017-11-28 19:49:58 -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
b7a568d537
Updates for issue #90
...
1) Moved _check_multiline_alignment to check.py
2017-11-28 19:32:53 -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
99319d04d2
Updates for issue #90
...
1) Refactored add_keyword_alignment_violation to remove arguments
2017-11-28 19:14:12 -06:00
Jeremiah C Leary
f1d7da2dd4
Updates for issue #90
...
1) Finished refactoring _check_keyword_alignment
2017-11-28 07:45:36 -06:00
Jeremiah C Leary
4c831c5295
Updates for issue #90
...
1) Refactoring _check_keyword_alignment
2017-11-27 19:59:06 -06:00