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
69fc6fdef6
Updates for issue #393 :
...
Adding rules for context references.
1) Added context reference rules 001 through 005
2) Refactored base rules to allow it to pull code from rule defined regions
3) Refactored context rules to match base rule changes
4) Added tests
5) Updated documentation
6) Updated context classifier
7) Added set_indent_levels method to vhdlFile class
2020-07-25 20:48:28 -05:00
Jeremiah Leary
1b7fe624f0
Updates for issue #393 :
...
Adding another rule:
1) Added context_011
2) Added another base rule
3) Updated tests
4) Added context rule documentation to rules.rst
2020-07-24 06:23:37 -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
e42d0a3002
Updates for issue #393 :
...
Adding more context rules:
1) Added base rule indent_item_rule
2) Added indent rules
3) Updated classifiers to handle context indents
2020-07-22 18:48:33 -05:00
Jeremiah Leary
12f6047b68
Updates for issue #393 :
...
Adding more context rules:
1) Added rules
2) Added base rules
3) Added tests
4) Updated documentation
2020-07-22 15:03:46 -05:00
Jeremiah Leary
cfa05b0083
Updates for issue #393 :
...
Adding more context rules:
1) Added rule context_008
2) Added base rule
a) move_item_and_items_to_the_right_to_next_line_rule
2020-07-21 08:35:19 -05:00
Jeremiah Leary
0e226ec6de
Updates for issue #393 :
...
Additional context rules added:
1) New rules added
a) context_007
b) context_021
c) context_022
2) New base rules added
a) insert_item_after_item_rule
b) copy_item_value_and_insert_new_item_after_item_rule
c) move_items_after_item_to_next_line_rule
3) Updated classifiers to use objects
a) library
b) use
4) Added tests
2020-07-21 07:45:20 -05:00
Jeremiah Leary
9fda36ecdb
Updates for issue #393 :
...
Adding more context rules:
1) Added two more base rules:
space_after_item_rule
space_between_items_rule
2) Added new context rules:
context_017
context_018
context_019
3) Added tests
4) Updated documentation
2020-07-20 08:33:09 -05:00
Jeremiah Leary
328b8b336c
Updates for issue #393 :
...
Adding new rules for context declarations:
1) Added base rules move_item_rule and new_case_rule
2) Added new rules:
context_006
context_009
context_010
context_011
context_012
context_013
context_014
context_015
context_016
3) Updated documentation
4) Added tests
2020-07-19 20:56:56 -05:00
Jeremiah Leary
d1ae9928c3
Updates for issue #393 :
...
Adding new rules for context declarations:
1) Added context rule documentation
2) Added parsing of context declarations
a) Experimenting with using objects
3) Adding rules 002, 003, 004 and 005.
NOTE: These new rules need to be refactored before they are merged back to master.
2020-07-19 16:01:29 -05:00
Jeremiah Leary
bb123a5a7c
Merge pull request #433 from jeremiah-c-leary/issue-432
...
Issue 432
2020-07-17 14:40:27 -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 Leary
203f524c1c
Updates for issue #399
...
Adding rule semicolon_001 to check for consecutive semicolons:
1) Added documentation
2) Added test
3) Added helper functions to vsg.utils
4) Added rule semicolon_001
2020-07-03 08:47:39 -05:00
Jeremiah Leary
58b16cc01b
Updates for issue #432 :
...
Abstracting architecture_029 to identifier_alignment_rule.
2020-06-27 08:21:10 -05:00
Jeremiah C Leary
fa3e67d598
Updates for issue #276 :
...
Added two rules to handle setting the case for range keywords **to** and **downto**.
1) Added documentation
2) Added tests
3) Added rules range_001 and range_002
2019-11-29 08:38:30 -06:00
Jeremiah C Leary
6e61da5e22
Updates for issue #271 :
...
Adding length to the rule list.
2019-11-10 15:05:26 -06:00
Michał Kruszewski
996febb7a0
Add prefix and suffix rules.
2019-10-16 11:53:58 +02:00
Michał Kruszewski
9cdda25186
Remove lower_case_rule
2019-10-07 19:47:06 +02:00
Michał Kruszewski
abfa9cab24
Replace lowercase_word_after_colon_rule with case_rule.
2019-10-07 14:26:12 +02:00
Michał Kruszewski
b2b5e822d5
Remove uppercase_end_label rule.
2019-10-07 14:08:48 +02:00
Michał Kruszewski
5c7fd7dfef
Remove uppercase_word_rule.
2019-10-07 13:48:23 +02:00
Michał Kruszewski
0bfac98c55
Remove lowercase_word_rule.
2019-10-07 12:09:39 +02:00
Michał Kruszewski
ff011c762d
Use case_rule for constant_rule_002.py
2019-10-02 10:57:42 +02: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
952e4771b9
Update for issue #196 :
...
Added fix logic for rule after_001.
1) Added configurable attributes magnitude and units
2) Updated documentation
3) Updated tests
4) Updated clock process classification to detect clock processes without resets
2019-06-28 18:43:40 -05:00
Jeremiah C Leary
0c87b5bb70
Updates for issue #224
...
Switched general_001 to signal_014:
1) Removed rule general_001
a) Removed documentation
b) Removed tests
c) Removed rule
2) Added signal_014 to validate signal names are consistently cased
a) Added documentation
b) Added tests
c) Added rule signal_014
d) Added extract_signal_names procedure in utils.py
2019-03-30 20:11:13 -05:00
Jeremiah C Leary
c314cd0430
Updates for issue #224
...
1) Added general_001 to look for inconsistent capitalization
a) Added tests
2) Updated variable_010 to ignore everything after the "range" in a variable definition
a) Updated tests
2019-03-27 22:42:58 -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
317c728d6e
Adding wait_001 rule to handle indenting of wait statements.
...
1) Added tests
2) Added docmentation
3) Added rule
2018-12-01 11:03:11 -06:00
Jeremiah C Leary
937ff79e13
Updates for issue #168
...
1) Added handling of files being passed that do not exist
2) Updated documentation
3) Updated tests
2018-09-22 09:07:25 -05: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
49b2ca879e
Updates for issue #157
...
1) Added port rule 022 to remove blank lines after the port keyword.
2) Added tests
3) Updated documentation
2018-08-26 16:44:59 -05:00
Jeremiah C Leary
a742f6c486
Refactoring rules.
2017-12-29 07:40:03 -06: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
37910d8e73
Refactored whitespace_003, whitespace_004, and whitespace_005 rules.
2017-12-28 11:28:43 -06:00
Jeremiah C Leary
9354bf3d0d
Refactored constant_011 and signal_010 rules.
2017-12-28 11:09:03 -06:00
Jeremiah C Leary
a0033246c7
Updates for issue #129
...
1) Added classification of procedures
2) Added procedure rules 001, 002, 003, and 004.
3) Added tests
4) Added documentation
2017-12-27 11:56:25 -06:00
Jeremiah C Leary
1145cda18f
Updates for issue #124
...
1) Added file statement attributes to line.py
2) Added file statement classifier
3) Added file statement rules
4) Added tests
5) Added documentation
2017-12-25 11:24:06 -06:00
Jeremiah C Leary
03636fe358
Updates for issue #123
...
1) Added attribute attributes to line.py
2) Added attribute classifier
3) Added attribute rules
4) Added tests
5) Added documentation
2017-12-25 09:50:45 -06:00
Jeremiah C Leary
b85d8c84c0
Refactored type rules into type_definition rules to address Codacy issue.
2017-12-24 06:59:07 -06:00
Jeremiah C Leary
c3a84706e5
Refactored generic_018, instantiation_025, and instantiation_026 rules.
2017-12-23 14:31:07 -06:00
Jeremiah C Leary
b08f8d6560
Refactored variable rules and added documentation.
2017-12-23 08:42:26 -06:00
Jeremiah C Leary
1641642910
Refactored generic rules and added documentation.
2017-12-17 09:55:10 -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
006ad3a616
Updates for issue #107
...
1) Added classifier for while loops
2) Updated existing classifiers to handle while loops
3) Added tests
4) Added documentation
5) Added two rules for while loops
2017-12-06 19:53:30 -06:00
Jeremiah C Leary
0cc31c9903
Updates for issue #108
...
1) subtypes are classified now
2) created tests
3) Added fix
4) Added documentation
2017-12-05 21:32:18 -06:00
Jeremiah C Leary
fbe562e056
Updates for issue #85
...
1) Added constant_010
2) Added tests
3) Added sphinx documentation
2017-12-04 21:37:06 -06:00