Jeremiah Leary
cd64cdeae0
Updates for issue #474
...
Adding rule function_017 to handle the case of function designators.
1) Added documentation
2) Added test
3) Added rule function_017
2020-12-04 17:03:00 -06:00
Jeremiah Leary
55edb03ed7
Hardning updates for existing code examples:
...
1) Added single_space_before_token to handle case_rule_005
2) Added insert_carriage_return.......
3) Improved existing tests
2020-11-15 09:51:21 -06:00
Jeremiah Leary
cccf9b7d7c
Updates during jcl style validation.
...
1) Added rule function_016 to handle return statements in functions
a) Updated documentation
b) Created tests
c) Added rule
2) Updated rules to match existing jcl style output
2020-11-14 17:07:48 -06:00
Jeremiah Leary
2d672df79d
Major refactor to remove the use of line.py to improve performance.
2020-11-09 20:49:45 -06:00
Jeremiah Leary
0a69106717
Refactoring function rules for new parser.
2020-10-03 23:00:54 -05:00
Jeremiah Leary
a95bd04873
Replacing older parser with newer one:
...
1) Called out parsers from classify_new instead of classify
2) Updated invalid test inputs
3) Updated test results
4) Removed unused files
2020-09-19 07:46:35 -05:00
Jeremiah Leary
7a3fcf9883
Updates for issue #434 :
...
Adding rules to align declaration identifiers:
1) Updated documentation
2) Removed the following rules
file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
3) Added new rules:
architecture_029, function_015, package_019, procedure_010 and process_037
4) Added tests for new rules
5) Updated classifiers to support new rules
2020-06-30 11:36:01 -05:00
Michał Kruszewski
a61f9ad504
Add rules for checking case of "end function".
2020-06-23 14:05:47 +02: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
Jeremiah C Leary
cb53ad4c91
Updates for issue #335
...
Updated function rules to use violation dictionary for violation list.
1) Updated code
2) Updated tests
2020-02-16 19:22:53 -06:00
Jeremiah C Leary
ddc32f8ed9
Updates for issue #335 :
...
Updated tests using the indent base rule to use dictionaries for the violation list.
1) Updated code
2) Updated tests
2020-02-16 08:27:55 -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
Jeremiah C Leary
53969af391
Updates for issue #335
...
Updated rules based on rules.line_below_rule to use the violations attribute to fix violations.
1) Updated base rule rules.line_below_rule
2) Updated tests
2020-02-15 15:36:42 -06:00
Jeremiah C Leary
128b080f49
Updates for issue #335
...
Updated rules based on the line_above_rule.
1) Updated line_above_rule
2) Updated tests
2020-02-15 15:13:57 -06:00
Michał Kruszewski
7666fae485
Make case_rule to use violations attribute for fixing errors.
2020-02-15 16:51:01 +01:00
Jeremiah C Leary
c603a9b5dc
Updates for issue #288 :
...
Updated function case rules to allow for configuration of either upper or lower case.
1) Updated documentation
2) Added tests
3) Updated rule function_005 so it can be either upper or lower case
2019-12-01 08:12:17 -06:00
Jeremiah C Leary
5cb0a35cc9
Updates for issue #287 :
...
Fixed two issues:
1) VSG was misclassifying function parameters as variables.
2) VSG was not setting an indent level for the end of a function.
2019-11-27 07:13:29 -06:00
Jeremiah C Leary
c184c07592
Updating tests to improve code coverage.
2019-10-18 06:41:38 -05:00
Jeremiah C Leary
bb7b44e0ec
Adding tests to improve code coverage.
2019-10-16 22:16:31 -05:00
Jeremiah C Leary
08e3680b70
Updates for Codacy:
...
1) Removed trailing whitespace
2) Removed unused general tests
2019-03-31 10:03:00 -05:00
Jeremiah C Leary
f2da8b4fe0
Updates for issue #224
...
Adding consistency case checks for function names.
1) Added documentation
2) Added tests
3) Added rule function_010
2019-03-31 09:10:41 -05:00
Jeremiah C Leary
5cacc551ef
Updates for issue #221 :
...
Fixing function_003 violation for functions without parameters.
1) Added test to detect bug
2) Updated rule to only check if there are any parameters on the function.
2019-03-23 19:47:20 -05:00
Jeremiah C Leary
1948b70444
Updates for Codacy issues:
...
Removing trialing whitespaces.
2019-03-10 12:19:16 -05:00
Jeremiah C Leary
183b9f5c18
Updates for issue #193
...
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
2019-02-24 12:49:25 -06:00
Jeremiah C Leary
a142f78ef2
Updates for issue #133 :
...
1) Updated classification of functions.
2) Updated tests
2017-12-30 12:27:23 -06:00
Jeremiah C Leary
41510950d9
Updates for issue #128
...
1) Function parameters are no longer classified as signals or constants
2) Functions in packages are now classified
3) Updated tests
2017-12-26 07:23:56 -06:00
Jeremiah C Leary
464004cae6
Fixing style issues for Codacy.
2017-12-25 15:09:09 -06:00
Jeremiah C Leary
86ec8e697e
Updates for issue #84
...
1) Added function_008 and function_009
2) Added tests
3) Added documentation
2017-12-25 12:45:01 -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
09d9de4473
Updates for issue #79
...
1) Added function_006 to enforce a blank line above functions
2) Added function_007 to enforce a blank line below functions
2017-12-02 18:49:10 -06:00
Jeremiah C Leary
b5d0803a7e
Updates for issues #60 and #76
...
1) Classifying "impure" functions as normal functions
2) Fixed issue with code being deleted in if statements when trying to split lines.
2017-11-25 10:50:01 -06:00
Jeremiah C Leary
382c2136eb
Updates for issue #30
...
1) Added fixes for function rules.
2017-11-23 07:21:33 -06:00
Jeremiah C Leary
12a585171c
Updates for issue #52 :
...
1) Fixed easy code coverage issues.
2017-11-22 06:45:06 -06:00
Jeremiah C Leary
82c9710355
Updates for function rules.
...
1) Additional rules to handle functions.
2017-10-15 09:34:37 -05:00
Jeremiah C Leary
bc32304bd6
Updates to case and sequential rules after running against example code:
...
1) Sequential will not flag lines in which there is not code after the <= operator
2) Cases are now detected inside functions
3) Code after => in case when lines are flagged
2017-10-14 13:26:35 -05:00
Jeremiah C Leary
21c2b803f5
Updates for instance rules:
...
1) Fixed issue where function parameter was mistaken for an instance declaration.
2017-10-08 20:09:47 -05:00
Jeremiah C Leary
c4bf737038
Update for function rules:
...
1) Added first function rule for indentation
2017-10-08 14:35:25 -05:00
Jeremiah C Leary
6f714ff3e3
Updates for function rules:
...
1) Added function attributes to line class
2) Added function attribute assignments to vhdlFile class
2017-10-08 11:41:07 -05:00