Jeremiah C Leary
f42e698c31
Updates for issue #219
...
Changed utilities to utils.
2019-03-23 07:43:53 -05:00
Jeremiah C Leary
74778a393d
Updates for issue #220 :
...
Completed bug fix:
1) Added rule procedure_006
a) Added documentation
b) Added test
c) Added rule
2) Fixed misclassification of procedure parameters as variable assignments
a) Enhanced tests for procedures
b) Enhanced tests for variable_assignments
c) Fixed variable_assignment classifier to ignore component parameters
2019-03-23 07:29:22 -05:00
Jeremiah C Leary
65159fcb0b
Updates for issue #220
...
Adding test case to procedure tests.
1) Updated meaning of isProcedureParameterEnd.
2019-03-22 17:52:04 -05:00
Jeremiah C Leary
6f7ae69e55
Updates for issue #220 :
...
Invalid classification of procedure "begin" keyword as a process "begin" keyword.
1) Updated tests to include testcase
2) Updated code to handle testcase
2019-03-22 17:26:42 -05:00
Jeremiah C Leary
1a0e98a2d5
Combining whitespace_009 and whitespace_010 to improve code climate.
...
1) Updated tests
2) Updated documentation
3) Removed whitespace_009
2019-03-21 18:20:23 -05:00
Jeremiah C Leary
ab5445cbe6
Removing unused import identified by codacy.
2019-03-19 22:18:40 -05: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
aebe2de87f
Fixing style issues flagged by code climate.
2019-03-19 21:54:22 -05:00
Jeremiah C Leary
5e5a7b46d4
Refactoring process_019 and generate_012 for codeclimate.
2019-03-19 21:16:43 -05:00
Jeremiah C Leary
9b3349f4c3
Codacy updates.
2019-03-19 21:04:11 -05:00
Jeremiah C Leary
590463c9f2
Updates for issue #217 :
...
Updated tests for changes between Python 2.7 and Python 3.
1) Fixed issue with ranges being used as initial lists
2) Fixed issue with subprocess returning bytes instead a string
2019-03-17 11:05:30 -05:00
Jeremiah C Leary
522ba311a3
Refactoring rules for codeclimate.
2019-03-10 22:10:33 -05:00
Jeremiah C Leary
2384a6c840
Refactored check.py to improve readability.
2019-03-10 21:38:28 -05:00
Jeremiah C Leary
5492ab2564
Updates for Codacy.
...
1) Removing more trailing whitespace
2019-03-10 12:29:11 -05:00
Jeremiah C Leary
1948b70444
Updates for Codacy issues:
...
Removing trialing whitespaces.
2019-03-10 12:19:16 -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
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
f2f0ac5bc9
Updates for issue #181
...
Adding code tag classifier.
2019-03-10 11:09:02 -05:00
Jeremiah C Leary
7cb56ab8f0
Updates for issue #181
...
Addition refactoring of existing rules to support implementing in file tags.
2019-03-09 18:34:41 -06: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
2fd456aec3
Updates for issue #181
...
Refactoring rules to support implementing in file tags.
2019-03-09 15:38:39 -06: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
0cfb0f0e5c
Updates for issue #215 :
...
Moving the else keyword in a when statement.
1) Added documentation for the new rule
2) Added tests
3) Added rule to move the else keyword if it is at the beginning of a line.
2019-03-09 12:56:59 -06:00
Jeremiah C Leary
40206bbac0
Updates for issue #213
...
Adding documentation about YAML files.
2019-03-09 11:23:00 -06:00
Jeremiah C Leary
e3b548ae5f
Updates for issue #213
...
1) Additional tests added to mirror testing with JSON configurations.
2019-03-09 11:12:44 -06:00
Jeremiah C Leary
643c0a1992
Updates for issue #213
...
Adding support for YAML configurations:
1) Added tests
2) Added parsing of YAML files
2019-03-09 10:57:45 -06:00
Jeremiah C Leary
47e14761f9
Updates for issue #214 :
...
1) Restricted classification of file keyword to include a space afterwards.
2) Updated tests
2019-03-09 09:59:01 -06:00
Jeremiah C Leary
48563434cd
Updates to address codeclimate issues.
2019-03-02 09:29:53 -06:00
Jeremiah C Leary
ddf6b89587
Updates for Codacy issues.
2019-03-02 09:13:33 -06:00
Jeremiah C Leary
a974530bb5
Updates for issue #204
...
Added rule to handle generate label and generate keyword not on the same line:
1) Added generate_015 to flag label and keyword not on the same line
2) Added tests
3) Added documentation
4) Improved classification of generates to detect label and keyword not on the same line
NOTE: This is currently not fixable.
2019-03-02 08:57:01 -06:00
Jeremiah C Leary
ba0efcec89
Updates for issue #210
...
1) Architecture name is now added to the end architecture line
2) Updated tests
2019-03-02 08:00:13 -06:00
Jeremiah C Leary
d32e628e4f
Updates for issue #210
...
Refactored architecture fix tests to ues the setUp method.
2019-03-02 07:29:07 -06:00
Jeremiah C Leary
f7bc19369d
Updates for issue #211
...
Attempting to replicate problem, but so far can not replicate the problem.
The testing has been enhanced for this rule.
2019-03-02 07:23:32 -06:00
Jeremiah C Leary
27d86f58c4
Updates for issue #201
...
Globbing of 'file_list' in configurations are now supported.
2019-02-24 13:58:02 -06:00
Jeremiah C Leary
cf9b3b7791
Updates for issue #193
...
Build failed, but local tests passed.
Tracked problem down to not setting filename in vhdlFile object.
2019-02-24 13:29:10 -06: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
fa3333082b
Updates for issue #212
...
Adding rule instantiation_030 to enforce a single space after => operator in generic maps.
1) Added tests
2) Added documentation
3) Added rule
2019-02-24 10:39:28 -06:00
Jeremiah C Leary
f415d9c16f
Updates for issue #212
...
1) Enhancing fix test for instantiation_015
2019-02-24 10:26:56 -06:00
Jeremiah C Leary
25cd3157d0
Updates for issue #212
...
1) Refactored tests to use setUp procedure for generic tests
2019-02-24 10:07:05 -06:00
Jeremiah C Leary
c8a026dbc8
Update issue #212
...
1) Refactored generic tests into new file from instantion test file
2019-02-24 10:03:19 -06:00
Jeremiah C Leary
15d39274c3
Updates for issue #206
...
1) Fixing Codacy issues
2019-02-24 09:42:29 -06:00
Jeremiah Leary
e17268a60a
Merge pull request #209 from csomers82/master
...
Added process label tracking for process_018
2019-02-24 09:27:09 -06:00
Jeremiah C Leary
a51c390771
Updates for Codacy issues.
2019-02-17 09:49:32 -06:00
Jeremiah C Leary
cbf811d05b
Updates for issue #207
...
1) Changed exit function to use a number instead of EX_OK.
This was causing problems for Python 3.6
2019-02-17 09:37:07 -06:00
Jeremiah C Leary
3f094345a2
Updates for issue #208
...
1) Added "when" attributes to line object
2) Added classification of "when" constructs
3) Added tests
2019-02-17 09:28:19 -06:00
Clifton Somers
aca8cce884
successfully implemented process label fixingw
2019-02-16 14:04:23 -06:00
Jeremiah C Leary
5f5eee4571
Updates for issue #203
...
Made process detection ignore commented out code.
1) Updated test
2) Updated classifier
2019-02-11 18:13:50 -06:00
Jeremiah C Leary
78ba6e0706
Updates for issue #197
...
1) Renumbering signal_009 to signal_013 to ensure it runs after signal_012.
2) Fixed code examples
2019-02-10 22:20:29 -06:00
Jeremiah C Leary
2c3f804678
Updates for issue #197
...
Added fix logic to align the second signal in lines that have two signals defined.
2019-02-10 22:04:23 -06:00
Jeremiah C Leary
0071d57703
Updates for issue #197
...
Added rule to check for mis-aligned second signal in multiply declared signals on a single line.
1) Added documentation
2) Added test
NOTE: Still need to write the fix function
2019-02-10 21:42:04 -06:00