Commit Graph

67 Commits

Author SHA1 Message Date
JHertz5 a25622001c Issue#1232: Deprecated rule ieee_500. 2024-09-28 13:52:13 +01:00
Jeremiah Leary 0dbc78a350
Issue#1198: Adding regex option to rule port_map_002. (#1199) 2024-07-19 07:00:50 -05:00
Jeremiah Leary 631d39c246
Issue#1186: Additional whitespace rules added. (#1192)
* Issue#1186:  Additional whitespace rules added.

* Fixing style issues.
2024-07-12 03:19:06 -05:00
Jeremiah Leary 95fabcf752
Issue#1196: Adding rules to check for subprogram designators. (#1197) 2024-07-12 03:14:37 -05:00
Jeremiah Leary 5647dbcb35
Issue#911: Improving detection of unary logical operators. (#1046)
* Issue#911:  Improving detection of unary logical operators.

* Adding descriminator for keywords before unary operator.

* Fixing style issues.
2024-07-11 07:26:01 -05:00
Jeremiah Leary aa7f10bd29
Issue#1171: Adding rule whitespace_100 to enforce single spacing around relational operators. (#1172) 2024-07-09 20:39:45 -05:00
Jeremiah Leary ba8bfa23e8
Issue#1188: single comments with */ would be incorrectly classified and fail to parse. (#1191) 2024-07-09 20:36:59 -05:00
Jeremiah Leary a457814398
Issue#1190: Adding <= and < options to whitespace rules. (#1193)
* Issue#1190:  Adding <= and < options to whitespace rules.

* Fixing issue when <=1 is used and there are no spaces.
2024-07-09 05:31:21 -05:00
Jeremiah Leary 3277b965ac
Issue#1189: Adding error reporting for invalid indent configurations. (#1194)
* Issue#1189:  Adding error reporting for invalid indent configurations.

* Fixing style issues.
2024-07-08 20:48:01 -05:00
Jeremiah Leary f0d3dd7da6
Issue#1182: Adding regex option to prefix and suffix rules. (#1185)
* Issue#1182:  Adding regex option to prefix and suffix rules.

* Fixing style issues.
2024-06-26 21:20:40 -05:00
Edgar Vedvik c6c26e33bc
PR#1183: Fix bug in whitespace between tokens and add test for it (#1183)
Co-authored-by: Edgar Vedvik <edgar@radionor.no>
2024-06-19 21:32:02 -05:00
Jeremiah Leary 7adbcc0003
Issue#1176: Updating rule instantiation_005 to allow for adding or remmoving carriage returns. (#1180) 2024-06-19 05:18:52 -05:00
Jeremiah Leary 091f78d274
Issue#1177: Updating prefix and suffix rules to check for prefix or suffix if both exceptions are provided. (#1181) 2024-06-17 20:16:39 -05:00
Jeremiah Leary 0389ff93f2
Issue#1178: Adding rule component_022 to add or remove optional component_simple_name. (#1179) 2024-06-14 07:04:07 -05:00
Jeremiah Leary 872884d33c
Issue#1168: Fixing mis-classification formal parameters in procedure specifications. (#1169) 2024-05-03 07:14:54 -05:00
Jeremiah Leary a972c42c4c
Issue#1135: Adding documentation for rules which can not be automatically mixed. (#1136) 2024-04-16 20:13:31 -05:00
Jeremiah Leary 9444c8d320
Issue#1166: code tags for rule length_003 were not honored. (#1167) 2024-04-16 20:11:15 -05:00
Jeremiah Leary 66d47f1040
Issue#1145: Fixing invalid JSON test files and documentation. (#1165) 2024-04-13 06:08:47 -05:00
Jeremiah Leary 0220e49b96
Issue#1156: Changed prefix/suffix exceptions to allow for regular expressions. (#1159) 2024-04-02 06:47:51 -05:00
Jeremiah Leary dcc09162be
Issue#1146: Fixing invalid escaped characters in documentation and tests. (#1152) 2024-03-28 07:00:59 -05:00
Alon Bar-Lev baf22da660 style: apply end-of-file-fixer
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev c22a86025f style: apply black
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev 5b4bae04aa style: apply isort
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev b8c49b5946 style: python encoding
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev 6aca7f56d5 style: remove trailing spaces
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev d1ec866dea style: apply json
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev f9c2653e54 style: apply codespell
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:34 +02:00
Alon Bar-Lev 8f9dc637ee tests: move out of vsg
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-23 18:48:35 +02:00
Jeremiah Leary a6ea0758a8 Restructered directory using:
http://python-packaging.readthedocs.io/en/latest/index.html

as a reference
2017-09-29 21:57:28 -05:00
Jeremiah Leary c701bb76de Updates for package rules:
1)  Added package rules
  2)  Updated vhdlFile when running against examples
  3)  Bare bones package body checks
2017-09-29 18:34:39 -05:00
Jeremiah Leary 9ff53e0412 Updates for package rules:
1)  Added package attributes to line class
  2)  Added package attribute assignments to vhdlFile
  3)  Added indent tests to case, component and if rules
2017-09-29 10:54:35 -05:00
Jeremiah Leary baa0d35805 Updates to rules after running against examples. 2017-09-28 14:11:14 -05:00
Jeremiah Leary b5192c3395 Updates to instantion rules:
1)  Added rules for generic maps
2017-09-28 09:13:00 -05:00
Jeremiah Leary a3d295b24b Updates for generic rules:
1)  Added rule to check for space before : in generic declaration
2017-09-23 19:09:54 -05:00
Jeremiah Leary 25b2cead27 Updates for rules:
1)  Updated additional rules after running against examples.
2017-09-23 17:13:27 -05:00
Jeremiah Leary 74928d9914 Updates to rules:
1)  Updated rules after running against examples
2017-09-23 16:02:39 -05:00
Jeremiah Leary 6271672ae1 Updates for top level program:
1)  Implemented "phase" concept to help with implementing changes
      a)  Added phase attribute to rule class
      b)  Updated all rules to include a phase number
      c)  Top level program runs all rules in a particular phase first before going on to next phase.
2017-09-23 14:44:21 -05:00
Jeremiah Leary 6ba5ca2984 Updates for instantiation rules:
1)  Initial set of rules for instantiations
2017-09-23 10:15:47 -05:00
Jeremiah Leary 7932e9fc41 Updates for component rules:
1)  Added rule to check for alignment of :'s in component port declarations.
2017-09-22 17:28:19 -05:00
Jeremiah Leary 5d046a4150 Updates for port rules:
1)  Port directions are checked for correct case
2017-09-22 16:52:03 -05:00
Jeremiah Leary 7225da8d71 Updates to port rules:
1)  Made port rules work on component port maps
2017-09-22 11:44:33 -05:00
Jeremiah Leary d88481c884 Updates for rule loading refactoring:
1)  Added function to load base rules so as rules are added they do
  not need to be added to the rule_list class.  This will also support
  user local rules eventually.
  2)  Moved rules to their own directory
  3)  Updated tests to handle new location of rules
2017-09-22 09:58:50 -05:00
Jeremiah Leary 76845d60d7 Adding component rules. 2017-09-22 07:57:52 -05:00
Jeremiah Leary 7c4bed2aea Updates for component rules:
1)  Added component attribute to line class
  2)  Added populating line class component attributes to vhdlFile class
2017-09-21 10:50:43 -05:00
Jeremiah Leary 2d3d0ae376 Updates for various rules after testing with new example:
1)  Updated port rules
  2)  Updated whitespace rules
  3)  Updated vhdlFile class
  4)  Test cases created for issues not found when testing against example
2017-09-20 21:59:01 -05:00
Jeremiah Leary 33e49e9361 Updates for generic rules:
1)  Added rule to ensure :'s are aligned for every generic in the generic map.
2017-09-17 17:43:31 -05:00
Jeremiah Leary 8043163f97 Updates for entity rules:
1)  Added rule to check for alignment of :'s in port declarations
  2)  Fix issue with assigning isPortDeclaration to comment lines
2017-09-17 16:58:03 -05:00
Jeremiah Leary 575df91575 Updates for concurrent rules:
1)  Added checking for alignment of <= in sequential groups of concurrent assignments
2017-09-17 14:19:38 -05:00
Jeremiah Leary 9953087003 Upates for comment rules:
1)  Added rule to check for comment alignment in processes
2017-09-17 14:04:10 -05:00
Jeremiah Leary 7c01a97a34 Updates for sequential rules:
1)  First pass at detecting inconsistent alignment of <= in sequential
  groups of sequential statements.
2017-09-16 21:27:14 -05:00