Jeremiah Leary
0b8b0a2d55
Updates for issue #538
...
Keywords in solutions are now consistently noted with *'s.
2021-03-16 07:54:11 -05:00
Jeremiah Leary
e8859a9074
Updates for issue #504 :
...
Changing option names for previous_line and blank_line rules:
1) require_blank changed to require_blank_line
2) no_blank changed to no_blank_line
2021-02-03 19:20:29 -06:00
Jeremiah Leary
0ea8dd3407
Updates for issue #504 :
...
Switching several rules to blank_line and previous_line:
1) Rules switched to blank_line
component_016
entity_016
generic_001
port_001
2) Rules switch to previous_line
library_007
3) Updated documentation
2021-02-02 20:58:48 -06:00
Jeremiah Leary
c117fa55f6
Updates for issue #504 :
...
Renaming blank_line_above_line_starting_with_token to previous_line to make room for dedicated blank_line_above_line_starting_with_token base rule.
2021-01-30 14:28:16 -06:00
Jeremiah Leary
44f69ffd3c
Updates for issue #504 :
...
Updating configurable element from method to style.
1) Updated documentation
2) Updated tests
3) Updated configurable item
2021-01-25 19:24:52 -06:00
Jeremiah Leary
04cc85c114
Updates for issue #504 :
...
Updated base rule blank_line_above_line_starting_with_token to include comments and blank lines.
1) Updated tests
2) Removed existing options allow_comments and blank_line_above_comment
3) Added option method
4) Updated base rule to use method
2021-01-23 13:20:01 -06:00
Jeremiah Leary
5a959acb17
Updates for issue #456
...
Adding ability to add or remove optional keywords.
1) Updated base rules to allow for removal of keywords
2) Changed default of instantiation_033 to add the keyword
3) Updated tests
4) Updated documentation
2020-12-12 10:49:44 -06:00
Jeremiah Leary
ccc3803613
Refactoring extract, base rules and token rules to use tokenMap.
2020-11-30 20:39:51 -06:00
Jeremiah Leary
0e2b3c5ce4
Refactoring additional component and instantiation rules for new parser.
2020-10-24 08:37:34 -05:00
Jeremiah Leary
fdf02d5523
Refactoring component rules for new parser.
2020-09-29 08:22:11 -05:00
Jeremiah Leary
62914d8029
Refactoring rules to be more robust.
...
Updating classifiers to handle corner conditions.
2020-08-09 16:30:54 -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
01746e70ea
Merge branch 'master' into issue-362
2020-03-31 21:16:50 -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
b6226ecb7d
Set the default case to lowercase for all case rules.
2020-03-29 21:26:15 +02:00
Michał Kruszewski
0f0ec0f47c
Refactor keyword alignment rules - part 2.
2020-03-17 11:22:25 +01:00
Michał Kruszewski
2f08a64bda
Refactor keyword alignment rules.
2020-02-24 21:14:44 +01:00
Jeremiah C Leary
b06ee2ee63
Updates for issue #335
...
Updated component rules to use violation dictionary for violation list.
1) Updated code
2) Updated tests
2020-02-16 17:44:25 -06:00
Jeremiah C Leary
f370aeadd1
Updates for issue #335
...
Updated rules using single_space_before_rule to use dictionaries for items in the violations list.
1) Updated tests
2) Updated code
2020-02-15 19:23:21 -06:00
Jeremiah C Leary
fb4c5ca972
Updates for issue #335 :
...
Updated rules based on the single_space_after_rule and multiple_spaces_after_rule base rules:
1) Updated rules to use violations list for the fix phase
2) Updated tests
2020-02-15 16:12:47 -06:00
Michał Kruszewski
e3805c9d54
Replace extract_first_keyword calls with extract_words function.
2020-01-20 21:17:41 +01:00
Michał Kruszewski
c9e5dffefe
Make entity and component rule 012 inherit from case_rule.
2020-01-04 10:34:51 +01:00
Jeremiah C Leary
e7a91cef71
Fixing formatting issues flagged by Codacy.
2020-01-02 11:23:09 -06:00
Jeremiah C Leary
7ab8f9f6fb
Updating rule component_012 to improve code coverage:
...
1) Removed unused elif code because it could never be executed.
2) Updated documentation for component classifier.
3) Updated tests for rule component_012 to cover the _get_solution method.
2020-01-02 10:10:38 -06:00
Michał Kruszewski
49aa53ab61
Replace extract_word function with extract_words.
2019-12-28 11:39:32 +01:00
Jeremiah C Leary
620c13ad20
Updates for issue #288 :
...
Updated architecture case rules to allow for upper or lower case.
1) Updated documentation
2) Updated tests
3) Updated the following rules:
architecture_006
architecture_012
architecture_014
2019-11-30 15:16:20 -06: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
Michał Kruszewski
9f1389c8e8
Fix printing solution for case rules.
2019-10-15 15:57:01 +02:00
Michał Kruszewski
837d2b67b2
Small formatting improvements.
2019-10-07 20:43:45 +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
1684855079
Make component rule 010 use case_rule as a base.
2019-10-07 15:40:24 +02:00
Michał Kruszewski
0a9e172999
Make component rule 004 use case_rule as a base.
2019-10-07 14:55:50 +02:00
Michał Kruszewski
ee89f6c246
Make component rule 008 use case_rule as a base.
2019-10-07 13:31:11 +02:00
Jeremiah C Leary
352f534084
Refactored the following rules for codeclimate:
...
generic_010
instantiation_007
type_008
2019-03-19 22:11:14 -05:00
Jeremiah C Leary
522ba311a3
Refactoring rules for codeclimate.
2019-03-10 22:10:33 -05:00
Jeremiah C Leary
6a04dae1c3
Updates for issue #181
...
1) Adding vsg off checking to rules which override the base rule class analysis method.
2019-03-10 11:50:46 -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
d6470d0911
Updates for issue #180
...
Adding rule component_020:
1) Added test for comment alignment in component declarations
2) Added rule to detect and fix alignment of comments
3) Added documentation
2018-11-26 20:36:30 -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
f584accb4a
Refactoring component_008, entity_008, instantiation_008, port_010.
2017-12-28 15:56:08 -06:00
Jeremiah C Leary
32997c99c3
Refactored component_002 and constant_006 rules.
2017-12-28 11:16:37 -06:00
Jeremiah C Leary
52c9037263
Refactoring indent rules.
2017-12-27 13:23:08 -06:00
Jeremiah C Leary
7ac441a603
Removed unused variables to address Codacy issues.
2017-12-24 07:21:09 -06:00
Jeremiah C Leary
4ee65c23a2
Code style updates flagged by Codacy.
2017-12-23 21:22:24 -06:00
Jeremiah C Leary
204e5bc28a
Refactoring for code climate.
2017-12-16 10:19:48 -06:00
Jeremiah C Leary
5a882a7475
Refactoring for code climate.
2017-12-16 09:59:34 -06:00
Jeremiah C Leary
34d90b9749
Refactored component rules for code climate.
2017-12-16 09:37:00 -06:00
Jeremiah C Leary
796879e240
Updates for style.
2017-12-10 06:52:33 -06:00
Jeremiah C Leary
c2b9c0a081
Added graphicsaccelerator code sample and updated rules.
2017-12-09 19:58:01 -06:00