Commit Graph

500 Commits

Author SHA1 Message Date
Dandaedre a5745cd9af Add fixed VHDL output on stdout 2026-10-02 19:47:54 +02:00
Jukka Hertzog 4aef763290
Merge pull request #1553 from JHertz5/issue-1548
Issue#1548: Modified relaxedCamelCase to allow consecutive capital letters at the end.
2026-07-24 15:14:23 +01:00
Jukka Hertzog 4d1ba8dd47
Merge pull request #1565 from gaoflow/issue-1564
Issue#1564: Fix block_201 false positive on leading comments when block "is" is omitted
2026-07-03 19:39:32 +01:00
Jukka Hertzog 6dd1d02da2
Merge pull request #1550 from SAY-5/fix-issue-1549-deferred-constant-crash
Fix crash in multiline array rules on deferred constants
2026-06-19 08:30:59 +01:00
Vincent Gao 9895b186d2
Issue#1564: Fold regression test into test_rule per review
Address review feedback: rename the input file to follow the descriptive
naming convention (rule_201_test_input.block_without_is.vhd) and move the
test into the existing test_rule class instead of a separate class, checking
both the require_blank_line and no_blank_line style options.
2026-06-16 00:07:59 +02:00
JHertz5 d80fb9cba6 Issue#1566: Removed setting of unused parameter from tests. 2026-06-15 21:14:32 +01:00
Vincent Gao 526fb1c02f
Issue#1564: Fix block_201 false positive on leading comments when block is omitted
get_indexes_of_tokens_between appended the enumerate loop counter instead
of the start-token index when a start token had no following end token. A
block statement with the optional "is" keyword omitted (and no guard),
in a file containing no other is/guard tokens, therefore made block_201
report a violation against the first token of the file (a leading comment)
and --fix inserted a spurious blank line. Append the actual token index so
the rule is evaluated against the block line. Adds a regression test.
2026-06-15 19:40:34 +02:00
Jukka Hertzog a895557eee
Merge pull request #1560 from JHertz5/issue-1558
Issue#1558: Added rules.rst check to unit tests
2026-05-29 08:11:18 +01:00
JHertz5 c5da187a28 Issue#1558: Formatting. 2026-05-29 00:04:56 +01:00
JHertz5 66fe9beff8 Issue#1558: Added rules.rst verification to unit tests. 2026-05-28 23:59:42 +01:00
Jukka Hertzog 87322afefd
Merge pull request #1554 from JHertz5/issue-1547
Issue#1547: Corrected library_007 to check library clauses for previous libraries
2026-05-28 22:54:32 +01:00
Jukka Hertzog 952374fbcd
Merge pull request #1466 from jeremiah-c-leary/issue-1458
Issue#1458:  Rules port_011 and port_025 were operating on component declarations.
2026-05-23 17:45:49 +01:00
Jukka Hertzog 6704c7ada7
Merge pull request #1505 from JHertz5/issue-1503
Issue#1503: Added new rules for structure and alignment of multiline signal initialisations
2026-05-23 17:38:31 +01:00
JHertz5 d8e5ff06e7 Merge remote-tracking branch 'origin/master' into issue-1503 2026-05-23 17:35:55 +01:00
JHertz5 b1da5292ff Issue#1547: Updated tests. 2026-05-23 13:54:14 +01:00
JHertz5 55897f59ae Issue#1548: Test update. 2026-05-22 20:25:14 +01:00
JHertz5 ce1321963e Issue#1548: Updated test cases. 2026-05-22 20:16:20 +01:00
JHertz5 658d769d95 Issue#1548: Updated test_rule_008 to use ranges. 2026-05-22 20:00:39 +01:00
say dc3d81da0e Fix crash in multiline array rules on deferred constants
constant_012 and constant_016 crashed with a TypeError when a
constant declaration spanning multiple lines had no assignment
operator (a deferred constant whose initializer is in the package
body). array_detected_after_assignment_operator now returns False
when the assignment operator token is absent.

Fixes #1549
2026-05-12 11:45:11 -07:00
JHertz5 7ba1ffaeac Merge remote-tracking branch 'origin/master' into issue-1531 2025-12-30 20:47:34 +00:00
JHertz5 0f075470a9 Issue#1533: Updated tests for variable_403 to protect against failure case. 2025-12-30 20:39:42 +00:00
Jukka Hertzog 2c74747343
Issue#1531: Add tests for character literals in token creation 2025-12-23 17:16:41 +00:00
Jukka Hertzog 52ad5c735b
Merge branch 'master' into issue-1503 2025-09-14 17:54:41 +01:00
Jukka Hertzog b940b390bf
Merge pull request #1519 from JHertz5/issue-1518
Issue#1518: Remove commented-out code
2025-09-14 17:52:57 +01:00
JHertz5 221c7095b0 Issue#1518: Removed commented-out code. 2025-09-14 17:49:58 +01:00
JHertz5 a3c97a8c80 Issue#1510: Removed commented-out code. 2025-09-14 17:47:37 +01:00
JHertz5 1256425cab Issue#1510: Corrections. 2025-09-14 17:41:22 +01:00
JHertz5 380226beb1 Issue#1510: Added tests for new rules to handle multiline variable initialisations. 2025-09-14 17:33:45 +01:00
JHertz5 c15e4ff3f8 Issue#1510: Modified variable_400 to skip arrays. 2025-09-14 17:00:20 +01:00
Jukka Hertzog b4861c54e9
Merge pull request #1516 from JHertz5/issue-1512
Issue#1512: Added rule to align assignment operators in variable declaration arrays
2025-09-14 16:58:48 +01:00
JHertz5 c761b127b0 Issue#1512: Added tests for new rule to enforce alignment of assignment operators within variable declarations. 2025-09-14 16:48:15 +01:00
Jukka Hertzog 29e3b3dbce
Merge pull request #1513 from JHertz5/issue-1511
Issue#1511: Added new rule for variable declaration asssignment operator position
2025-09-14 15:45:27 +01:00
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 b7fc82c990 Issue#1503: Formatting. 2025-09-14 11:47:50 +01:00
JHertz5 0e00cb320d Issue#1503: Added tests for signal_403. 2025-09-14 11:40:31 +01:00
JHertz5 b6bcd8cea3 Issue#1503: Added tests for signal_402. 2025-09-14 11:33:39 +01:00
JHertz5 4234d92254 Issue#1503: Updated tests for signal_400. 2025-09-14 11:15:39 +01:00
JHertz5 b982da5fb4 Merge remote-tracking branch 'origin/master' into issue-1503 2025-09-14 08:13:45 +01:00
Jukka Hertzog a26f66b1c6
Merge pull request #1495 from JHertz5/issue-1492
Issue#1492: New rules to handle whitespace in array definitions
2025-09-12 09:21:34 +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
JHertz5 dabc7b2739 Merge remote-tracking branch 'origin/master' into issue-1492 2025-09-11 23:41:04 +01:00
JHertz5 04cf277b54 Issue#1492: Removed constrained_array_definition_100, shuffled other rules names down. 2025-09-11 23:39:42 +01:00
JHertz5 84fa22954f Merge remote-tracking branch 'origin/master' into issue-1492 2025-09-11 23:35:53 +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 090d88acb6
Issue#1485: Modified variable_assignment_004 to no longer affect conditional variable assignments. (#1486) 2025-09-04 06:47:08 -05:00