Commit Graph

3272 Commits

Author SHA1 Message Date
JHertz5 ce4e5c6a3c Issue#1511: Added tests for new rule to enforce position of assignment operator in variable declarations. 2025-09-14 15:33:04 +01:00
JHertz5 f23cd2ac21 Issue#1511: Added new rule to enforce position of assignment operator in variable declarations. 2025-09-14 15:30:21 +01:00
Jukka Hertzog cb4eb92ff3
Merge pull request #1507 from JHertz5/issue-1391
Issue#1391: Added blank line rules for case generates
2025-09-11 23:48:51 +01:00
Jukka Hertzog a0b8ac4da3
Merge pull request #1499 from JHertz5/issue-1488
Issue#1488: New rule to handle whitespace before array constraints and index constraints
2025-09-11 23:40:06 +01:00
JHertz5 4dfbf9aa6b Merge remote-tracking branch 'origin/master' into issue-1488 2025-09-11 23:34:17 +01:00
JHertz5 718e2e187b Merge remote-tracking branch 'origin/master' into issue-1488 2025-09-11 23:32:59 +01:00
Jukka Hertzog f62164286a
Merge pull request #1498 from JHertz5/issue-1489
Issue#1489: Update `whitespace_005` to make ignoring of whitespace before numbers optional
2025-09-11 22:50:49 +01:00
Jukka Hertzog 955408c5ca
Merge pull request #1494 from JHertz5/issue-1491
Issue#1491: New rules to handle whitespace around range keywords
2025-09-11 22:49:11 +01:00
Jukka Hertzog 2291adb404
Merge pull request #1493 from JHertz5/issue-1490
Issue#1490: Added whitespace rules for direction keywords
2025-09-11 22:48:03 +01:00
Jukka Hertzog 3cc968d6af
Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
Jukka Hertzog 8adacd4875
Issue#1496: Corrected documentation typo. (#1497)
* Issue#1496 - Corrected documentation typo.

* Issue#1496: Added full stop to comment.
2025-09-04 21:40:42 -05:00
Jukka Hertzog 090d88acb6
Issue#1485: Modified variable_assignment_004 to no longer affect conditional variable assignments. (#1486) 2025-09-04 06:47:08 -05:00
Jukka Hertzog 313d9c7bcb
Issue#1397: Added whitespace rules for file declarations (#1484)
* Issue#1397: Added rule file_101.

* Issue#1397: Added tests for rule file_101.

* Issue#1397: Added docs for rule file_101.

* Issue#1397: Added whitespace rules for file_open_information.

* Issue#1397: Added tests for whitespace rules for file_open_information.

* Issue#1397: Added docs for whitespace rules for file_open_information.

* Issue#1397: Updated test class names.
2025-09-04 06:40:06 -05:00
Jukka Hertzog d87a3b1ed9
Issue#1504: Added rules to restrict library and package names. (#1506)
* Issue#1479: Modified architecture_025 to accept regular expressions as names.

* Issue#1479: Corrected error by resetting regexp names.

* Issue#1479: Modified test for architecture_025 to test regular expressions as names.

* Issue#1479: Modified docs for architecture_025.

* Issue#1479: Formatting.

* Issue#1479: Code improvement.

* Issue#1504: Added does_token_value_match_none_of class.

* Issue#1504: Added rules to restrict library and package names.

* Issue#1504: Added tests for rules to restrict library and package names.

* Issue#1504: Added docs for rules to restrict library and package names.

* Adding documentation for rule configuration.

* Issue#1504: Updated use_clause_001 to be disabled by default to match documentation.

* Issue#1504: Updated docs for use_clause_001 to be disabled by default to match documentation.

* Issue#1504: Updated docs for new rule type documentation.

---------

Co-authored-by: Jeremiah Leary <jeremiah.c.leary@gmail.com>
2025-09-04 06:32:41 -05:00
Lincoln Lorenz 2a265d6c1f
Issue 1475: Add support for VHDL 2019 views (#1477)
* Add alias example of a view's 'converse

* Add 2019 views

Resolves #1475

* Applied review suggestions
2025-09-03 21:36:40 -05:00
Jukka Hertzog cb3c3f3e27
Issue#1488: Docs updated to remove deprecated rule. 2025-09-03 17:25:36 +01:00
Jukka Hertzog 3f63fbb6ad
Issue#1488: Reverted unintended change. 2025-09-03 17:23:20 +01:00
Jukka Hertzog d098bbf69c
Issue#1488: Docs updated. 2025-09-03 17:19:02 +01:00
Jukka Hertzog f93a46d4fd
Issue#1488: Updated rule_list test output. 2025-09-03 17:18:03 +01:00
Jukka Hertzog 9e7ced14f2
Issue#1488: Deleted unused test file. 2025-09-03 17:17:07 +01:00
Jukka Hertzog cf1f9f2908
Issue#1488: Deleted unused test file. 2025-09-03 17:16:57 +01:00
Jukka Hertzog 9bff28afdc
Issue#1488: Update test. 2025-09-03 17:16:29 +01:00
Jukka Hertzog b14326740d
Issue#1488: Deprecated whitespace_008. 2025-09-03 17:14:30 +01:00
Jukka Hertzog 3d199b19f9
Merge branch 'jeremiah-c-leary:master' into issue-1488 2025-09-03 17:13:15 +01:00
Jukka Hertzog 207af67aa7
Issue#1479: Modified `architecture_025` to accept regular expressions as names (#1487)
* Issue#1479: Modified architecture_025 to accept regular expressions as names.

* Issue#1479: Corrected error by resetting regexp names.

* Issue#1479: Modified test for architecture_025 to test regular expressions as names.

* Issue#1479: Modified docs for architecture_025.

* Issue#1479: Formatting.

* Issue#1479: Code improvement.

* Issue#1479: Formatting.
2025-09-03 07:19:16 -05:00
Lincoln Lorenz a8e061a92f
Issue 1474: Add 2019 standard and its reserved keywords (#1476)
* Add 2019 standard and its reserved keywords

Resolves #1474

* Update vsg/rules/reserved/rule_001.py

Fixed spelling.

Co-authored-by: Jukka Hertzog <jukka.hertzog@live.co.uk>

---------

Co-authored-by: Jeremiah Leary <jeremiah.c.leary@gmail.com>
Co-authored-by: Jukka Hertzog <jukka.hertzog@live.co.uk>
2025-09-02 21:25:48 -05:00
Benjamin Thiemann 068f9102ef
Issue#1451: Fixed array detection and parenthesis handling in multiline_alignment_between_tokens (#1468)
* Issue#1451: Fixed array detection in multiline_alignment_between_tokens

* Move function toi_is_array from multiline_simple_structure to the 
  utils module and use this function in 
  multiline_alignment_between_tokens, because it correctly classifies
  parenthesis of aggregates. The previous function there falsely 
  triggered array detection on parenthesis around logical operators.

* Rename "check_for_array" to "skip_array", because that is what the 
  variable is used to do.

* Extend tests for concurrent_003 with logical expressions that start 
  with a parenthesis.

* Issue#1451: Fixed parenthesis handling in multiline_alignment_between_tokens

Do not add parenthesis pairs to the list of occurring parenthesis if
they are on the same line.
2025-09-02 21:18:33 -05:00
JHertz5 1769e08256 Issue#1391: Code example updated. 2025-09-01 21:16:37 +01:00
JHertz5 6142e0ffd7 Issue#1391: Added docs for blank line rules for case generates. 2025-09-01 21:11:59 +01:00
JHertz5 3b6612a0da Issue#1391: Added tests for blank line rules for case generates. 2025-09-01 21:06:48 +01:00
JHertz5 a00e62db5f Issue#1391: Added blank line rules for case generates. 2025-09-01 21:06:39 +01:00
Jeremiah Leary a73054725f Fixing test failure on documentation. 2025-09-01 12:56:40 -05:00
Rui Chen 5fa097a564
fix SyntaxWarning for py3.13 compatibility (#1441)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2025-09-01 10:01:30 -05:00
Jeremiah Leary 043ee7a0f9
Issue#1413: Fixing incorrect reference to rule in documentation. (#1414) 2025-09-01 09:51:24 -05:00
JHertz5 84033315bc Issue#1490: Updated test class names. 2025-08-25 08:15:14 +01:00
JHertz5 533c5658ed Issue#1491: Updated test class names. 2025-08-25 08:14:44 +01:00
JHertz5 fe7987e093 Issue#1488: Test update. 2025-08-25 08:01:01 +01:00
JHertz5 09a9be953f Issue#1488: Updated example tests. 2025-08-25 08:00:41 +01:00
JHertz5 d0ec87909e Issue#1488: Doc corrections. 2025-08-24 22:44:10 +01:00
JHertz5 eea06c9dee Issue#1488: Test corrections. 2025-08-24 22:42:41 +01:00
JHertz5 4762013289 Issue#1488: Added docs for new rules. 2025-08-24 22:41:50 +01:00
JHertz5 989c4b9a7f Issue#1488: Added tests for new rules. 2025-08-24 22:33:26 +01:00
JHertz5 1e0a3b30eb Issue#1488: Added new rules to handle whitespace before opening parentheses of index/array constraints.. 2025-08-24 22:22:51 +01:00
JHertz5 72d0391b29 Issue#1489: Minor code simplification. 2025-08-24 22:04:21 +01:00
JHertz5 d75437c771 Issue#1489: Updated tests to check new behaviour. 2025-08-24 22:02:33 +01:00
JHertz5 d48d2cb03a Issue#1489: Updated docs to reflect change. 2025-08-24 21:53:23 +01:00
JHertz5 d996b7d227 Issue#1489: Updated whitespace_005 to make ignoring of whitespace before numbers optional. 2025-08-24 21:50:06 +01:00
JHertz5 82d18f907b Updated classification test. 2025-08-24 21:34:13 +01:00
JHertz5 cda8132232 #1491: Updated tests. 2025-08-24 21:30:37 +01:00
JHertz5 5d03cc8b37 #1491: Updated parsing to avoid misidentifying range attributes as range keywords. 2025-08-24 21:30:25 +01:00