Jeremiah Leary
ebcdb14a45
Entity rule 23 compromise:
...
Will not check prefix or suffix on lines withe multiple ports.
Another rule will catch the multiple ports and when they are split onto
their own lines, then rule 23 will apply.
2017-08-30 20:42:47 -05:00
Jeremiah Leary
828eca47a5
Fixed end entity declaration and tests.
2017-08-30 20:33:24 -05:00
Jeremiah Leary
1a6095f1d8
Updates for rule_entity:
...
1) Added check for multiple ports assigned on a single line
2017-08-28 21:21:17 -05:00
Jeremiah Leary
9a02eebd4e
Updates for entity rules:
...
1) Fixed checking of spaces before end keyword for entities
2017-08-28 20:57:51 -05:00
Jeremiah Leary
d30a70b098
Updates for entity rules:
...
1) Fixed copy paste errors for directions
2) Added configuration method for prefix and suffix port naming
2017-08-28 20:30:30 -05:00
Jeremiah Leary
4bafb80cfd
Updates for entity rules:
...
1) Added rules to check case of generic and port keywords
2) Added rule to check for default assignments of ports
2017-08-27 16:42:45 -05:00
Jeremiah Leary
2b39f10166
Updates after testing against real code:
...
1) Updated several entity tests
2) Added all rules to rule list
2017-08-27 14:14:32 -05:00
Jeremiah Leary
051abdce7a
Adding initial architecture rules.
2017-08-18 20:47:46 -05:00
Jeremiah Leary
34e150eb5a
Adding rule for closing parenthesis in generics.
2017-08-17 18:16:38 -05:00
Jeremiah Leary
6169387ec1
Adding rules for generics.
2017-08-17 17:54:33 -05:00
Jeremiah Leary
f8cf209fc2
Refactored rule_entity_tests to use an external test file.
2017-08-17 14:54:29 -05:00
Jeremiah Leary
fd2b622154
Refactored rule_library_test to support external test file.
2017-08-17 12:49:15 -05:00
Jeremiah Leary
2eede473af
Adding more entity rules.
2017-08-17 11:06:39 -05:00
Jeremiah Leary
2b5a12c086
Adding more entity rules.
...
Fixed comment in rule_library.py
2017-08-17 10:08:59 -05:00
Jeremiah Leary
4551c5798b
Adding port spacing rules.
2017-08-14 19:59:00 -05:00
Jeremiah Leary
e73e9f68cb
Adding entity port rules.
2017-08-12 22:40:21 -05:00
Jeremiah Leary
ad23aefa77
Adding first rules for entities.
2017-08-12 18:29:05 -05:00
Jeremiah Leary
63a5340b30
Adding library and use keyword rules.
2017-08-12 17:40:38 -05:00
Jeremiah Leary
2aadc98e77
Added two rules:
...
whitespace 003 - no spaces before semicolons
whitespace 004 - no spaces before commas
2017-08-12 16:46:48 -05:00
Jeremiah Leary
b6acb48ba5
Updating tests to reflect change in rule class for storing rule violations.
2017-08-12 16:38:11 -05:00
Jeremiah Leary
22692016d6
Updates to run on files:
...
1) Added rule_list class to contain multiple rules
2) Rules no longer return a dictionary, they store the lines that
failed in a list
3) Output was made to be similar to pep8
NOTE: Tests were not updated, but will be on the next checkin.
2017-08-06 20:06:50 -05:00
Jeremiah Leary
301c27327e
Updates for whitespace rule 002:
...
1) Added whitespace rule 002
2017-07-31 22:12:54 -05:00
Jeremiah Leary
d654eda708
Updates for whitespace rules:
...
1) Adding rule class
2) Adding whitespace rule 001
2017-07-31 21:55:56 -05:00