Commit Graph

89 Commits

Author SHA1 Message Date
JHertz5 e8e9b01e05 Issue#1350: Updated documentation for new rules. 2024-12-14 09:23:22 +00:00
Jeremiah Leary 36aa24f18f
Merge pull request #1329 from JHertz5/issue-1325
Issue#1325: Added rules for whitespace in package instantiations.
2024-12-13 14:33:51 -06:00
JHertz5 c84ae04512 Merge remote-tracking branch 'origin/master' into issue-1325 2024-12-13 14:11:58 +00:00
JHertz5 214d6d1990 Merge remote-tracking branch 'origin/master' into issue-1320 2024-12-13 14:08:15 +00:00
Jeremiah Leary add3736ffd
Merge pull request #1331 from JHertz5/issue-1330
Issue#1330: Added naming rules for package instantiation declarations.
2024-12-13 07:31:07 -06:00
Jeremiah Leary 3b94109788
Merge pull request #1328 from JHertz5/issue-1324
Issue#1324: Added structure rule for package instantiations.
2024-12-13 07:19:40 -06:00
JHertz5 65b8e34b85 Issue#1280: Updated documentation. 2024-12-12 20:29:32 +00:00
Jukka Hertzog b8746188a1
Merge branch 'jeremiah-c-leary:master' into issue-1320 2024-12-12 19:49:50 +00:00
Jukka Hertzog 59ff8aaaca
Merge branch 'jeremiah-c-leary:master' into issue-1325 2024-12-12 19:49:45 +00:00
Jukka Hertzog 1bf2a78bc1
Merge branch 'jeremiah-c-leary:master' into issue-1324 2024-12-12 19:49:44 +00:00
Jukka Hertzog 02fcc63b22
Merge branch 'jeremiah-c-leary:master' into issue-1330 2024-12-12 19:49:43 +00:00
JHertz5 2555cd6c9e Merge remote-tracking branch 'origin/master' into issue-1320 2024-12-12 01:59:04 +00:00
JHertz5 8fe2f52768 Merge remote-tracking branch 'origin/master' into issue-1325 2024-12-12 01:52:55 +00:00
JHertz5 a9327ba902 Merge remote-tracking branch 'origin/master' into issue-1324 2024-12-12 01:51:56 +00:00
JHertz5 194ff7af96 Merge remote-tracking branch 'origin/master' into issue-1330 2024-12-12 01:51:43 +00:00
JHertz5 5edf5a528f Merge remote-tracking branch 'origin/master' into issue-1287 2024-12-12 01:48:59 +00:00
Jeremiah Leary b9538868e1
Merge pull request #1326 from JHertz5/issue-1322
Issue#1322: Added case rules for package instantiation declarations
2024-12-11 16:44:14 -06:00
JHertz5 ccddd6d06f Merge remote-tracking branch 'origin/master' into issue-1287 2024-11-17 02:16:12 +00:00
Jukka Hertzog 70685983f4
Merge branch 'jeremiah-c-leary:master' into issue-1330 2024-11-17 02:07:28 +00:00
Jukka Hertzog c1ccfd519f
Merge branch 'jeremiah-c-leary:master' into issue-1324 2024-11-17 02:07:27 +00:00
Jukka Hertzog 71cf2137bb
Merge branch 'jeremiah-c-leary:master' into issue-1325 2024-11-17 02:07:26 +00:00
Jukka Hertzog 5a8a7ceedf
Merge branch 'jeremiah-c-leary:master' into issue-1322 2024-11-17 02:07:25 +00:00
Jukka Hertzog 519c9cacb8
Merge branch 'jeremiah-c-leary:master' into issue-1320 2024-11-17 02:07:24 +00:00
Jukka Hertzog 1b73b76996
Merge branch 'jeremiah-c-leary:master' into issue-1316 2024-11-17 02:07:23 +00:00
Jukka Hertzog 4ab01fe454
Issue#1288: Added indent rules for protected type declarations and bodies (#1294)
* Issue#1285: Added case rules for protected type declarations.

* Issue#1285: Added case rules for protected type body declarations.

* Issue#1285: Correction in protected_type_502

* Issue#1285: Added protected_type and protected_type_body to top-level rules object

* Issue#1285: Added tests for protected_type rules

* Issue#1285: Whitespace changes in test cases.

* Issue#1285: Updated protected_type tests.

* Issue#1285: Added tests for protected_type_body rules

* Issue#1285: Updated documentation for protected_type and protected_type_body rules.

* Issue#1288: Some corrections in next statement test names

* Issue#1288: Added rule protected_type_300.

* Issue#1288: Added tests for rule protected_type_300.

* Issue#1288: Added rule protected_type_body_300.

* Issue#1288: Added tests for rule protected_type_body_300.

* Issue#1288: Updated documentation.

* Issue#1288: Corrected test cases
2024-11-16 19:24:43 -06:00
Jukka Hertzog 1f3502431f
Issue#1283: Split indent rules to treat labels separately from keywords (#1292)
* Issue#1283: Added rule case_300

* Issue#1283: Added tests for rule case_300

* Issue#1283: Added rule next_301.

* Issue#1283: Added tests for rule next_301.

* Issue#1283: Removed label checking from rule next_300.

* Issue#1283: Updated tests for rule next_300.

* Issue#1283: Indentation correction.

* Issue#1283: Added rule exit_301.

* Issue#1283: Added tests for rule exit_301.

* Issue#1283: Removed label checking from rule exit_300.

* Issue#1283: Updated tests for rule exit_300.

* Issue#1283: Added rule null_301.

* Issue#1283: Removed label checking from rule null_300.

* Issue#1283: Added tests for rule null_301.

* Issue#1283: Updated tests for rule null_statement_300.

* Issue#1283: Added rule wait_300.

* Issue#1283: Removed label checking from rule wait_001.

* Issue#1283: Added tests for rule wait_300.

* Issue#1283: Updated docs.

* Issue#1283: Update indent_rule_group.rst to remove deprecated rule
2024-11-16 19:19:30 -06:00
Jukka Hertzog 6845559968
Issue#1279: Added case rule for `others` keyword in aggregates (#1299)
* Issue#1279: Added rule aggregate_500

* Issue#1279: Added tests for rule aggregate_500

* Issue#1279: Added documentation for rule aggregate_500

* Issue#1279: Minor rewording in docstring.
2024-11-16 19:10:10 -06:00
Jukka Hertzog d508e775f5
Issue#1330 Update naming_rule_group.rst 2024-11-14 11:00:40 +00:00
JHertz5 14e296c182 Issue#1325: Added documentation for whitespace in package instantiations. 2024-11-13 22:47:27 +00:00
JHertz5 b79b4e1c9d Issue#1324: Added documentation for structure rules for package instantiations. 2024-11-13 21:51:31 +00:00
JHertz5 5b641012e3 Issue#1322: Added documentation for case rules for package instantiations. 2024-11-13 19:06:39 +00:00
JHertz5 702677f922 Issue#1320: Updated documentation for new rules. 2024-11-13 10:50:46 +00:00
JHertz5 436727359e Issue#1316: Added documentation for rule port_map_006. 2024-11-13 09:09:09 +00:00
Jukka Hertzog cc2d9e9530
Merge branch 'master' into issue-1287 2024-11-11 09:51:06 +00:00
Jukka Hertzog acdbbd81cb
Issue#1285: Added case rules for protected type declarations and bodies (#1293)
* Issue#1285: Added case rules for protected type declarations.

* Issue#1285: Added case rules for protected type body declarations.

* Issue#1285: Correction in protected_type_502

* Issue#1285: Added protected_type and protected_type_body to top-level rules object

* Issue#1285: Added tests for protected_type rules

* Issue#1285: Whitespace changes in test cases.

* Issue#1285: Updated protected_type tests.

* Issue#1285: Added tests for protected_type_body rules

* Issue#1285: Updated documentation for protected_type and protected_type_body rules.
2024-11-10 20:00:22 -06:00
Jukka Hertzog 9aaa274bd1
Issue#1284: Deprecate case_013 (#1312)
* Issue#1284: Deprecated rule case_013.

* Issue#1284: Updated tests for deprecated rule case_013.

* Issue#1284: Updated documentation for deprecated rule case_013.

* Issue#1284: Added punctuation to docstring.
2024-11-10 19:07:33 -06:00
JHertz5 6c8b89bb50 Merge remote-tracking branch 'origin/master' into issue-1287 2024-11-10 23:18:28 +00:00
Jukka Hertzog 571bc52927
Issue#1251: Added rules to enforce case on parameters in functions and procedures (#1254)
* Issue#1251: Added rules function_507, procedure_508, and procedure_call_502.

* Issue#1251: Updated docstrings and docs for rules function_507, procedure_508, and procedure_call_502.

* Issue#1251: Updated docstrings and docs for rule groups.

* Issue#1251: Updated docstrings and docs for rule groups.

* Issue#1251: Updated expected test output.

* Issue#1251: Updated expected test output.

* Issue#1251: Added tests for rules function_507, procedure_508, and procedure_call_502.

* Issue#1251: Added rules function_508 and procedure_509.

* Issue#1251: Updated docs for function_508 and procedure_509.

* Issue#1251: Updated rule group docs for function_508 and procedure_509.

* Issue#1251: Minor consistency improvement.

* Issue#1251: Removed unused imports.

* Issue#1251: Corrected rules function_507 and procedure_508 to act on interface file declarations

* Issue#1251: Improved tests for function_507 and procedure_508

* Issue#1251: Updated get_function_subprogram_body and get_procedure_subprogram_body to handle nested declarations

* Issue#1251: Updates to consistent_subprogram_parameter_token_case. Still doesn't exclude nested regions unfortunately, but at least handles them perhaps satisfactorily.

* Issue#1251: Added tests for function_508 and procedure_509.

* Issue#1251: Removed unused code.

* Issue#1251: Formatting

* Issue#1251: Updated style tests.

* Issue#1251: Cleanup in consistent_subprogram_parameter_token_case

* Issue#1251: Fixed crash in case of subprogram with no interfaces.

* Issue#1251: Updated test file to exercise corner case

* Issue#1251: Updated test file to exercise corner case

* Issue#1251: Updated test file to exercise corner case

* Issue#1251: Updated test file to exercise corner case

* Issue#1251: Removed consistent case changes, to be split into a different PR.
2024-11-10 07:36:31 -06:00
JHertz5 13292b3157 Merge remote-tracking branch 'origin/master' into issue-1287 2024-11-10 01:48:40 +00:00
Jukka Hertzog 83bfcfd9d3
Issue#1267: Updated rule return_statement_300 to handle label alignment (#1268)
* Issue#1267: Updated rule return_statement_300 to handle label alignment

* Issue#1267: Removed extra newline from indent_config.yaml

* Issue#1267: Split return label rule out to return_statement_301.

* Issue#1267: Reverted return_statement_300 tests.

* Issue#1267: Added tests for return_statement_301.

* Issue#1267: Added documentation for return_statement_301.
2024-11-09 14:18:19 -06:00
Jukka Hertzog 44544d3060
Issue#1253: Added rule to enforce case of `pure` and `impure` keywords. (#1259)
* Issue#1253: Added rule function_510.

* Issue#1253: Added tests for rule function_510.

* Issue#1253: Updated documentation for rule function_510.

* Issue#1253: Updated documentation for rule function_510.

* Issue#1253: Changed rule function_510 to function_509 to avoid conflict with other in-progress branches.

* Issue#1253: Updated test script.

* Issue#1253: Adjusted whitespace in test files for consistency with other tests.

* Issue#1253: Split rules to act on pure and impure separately.
2024-11-09 14:14:49 -06:00
Jukka Hertzog 980b7cfc74
Issue#1228: Added subtype rules to match type rules (#1229)
* Issue#1228: Added rules subtype_005 and subtype_006.

* Issue#1228: Added test for rule subtype_005.

* Issue#1228: Added test for rule subtype_006.

* Issue#1228: Added rules subtype_007 and subtype_008.

* Issue#1228: Added tests for rules subtype_007 and subtype_008.

* Issue#1228: Added rules subtype_009 and subtype_010.

* Issue#1228: Added tests for rules subtype_009 and subtype_010.

* Issue#1228: Added rule subtype_200.

* Issue#1228: Fixed rule subtype_200.
Removed duplicates from lTokens and lAllowTokens.
Updated code example to avoid duplicate definitions.

* Issue#1228: Added tests for rule subtype_200.

* Issue#1228: Corrections/improvements to new rule docstrings.

* Issue#1228: Reworked rule numbers to reflect execution phases.

* Issue#1228: Updated rule documentation.

* Issue#1228: Updated documentation.

* Issue#1228: Updated rule subtype_102 to include resolution functions.

* Issue#1228: Simplified subtype_102 by using whitespace_after_token instead of whitespace_between_token_pairs.

* Issue#1228: Simplified subtype_101 by using whitespace_before_token instead of whitespace_between_token_pairs.

* Issue#1228: Corrected order of init imports for subtypes.

* Issue#1228: Corrected order of init imports for subtypes.
2024-11-09 14:07:20 -06:00
JHertz5 5ca74da98e Issue#1287: Added documentation for alignment rules for protected type body 2024-10-24 21:57:39 +01:00
JHertz5 157926c19a Issue#1285: Updated documentation for protected_type and protected_type_body rules. 2024-10-22 22:59:02 +01:00
JHertz5 c14c303097
Issue#1277: Rule for enforcing case on `others` in case statements. (#1278)
* Issue#1277: Added rule case_500.

* Issue#1277: Added tests for rule case_500.

* Issue#1277: Added documentation for rule case_500.
2024-10-20 17:32:01 -05:00
JHertz5 2c60191df3
Issue#1252: Rules for enforcing case on function and procedure parameter directions (#1260)
* Issue#1252: Added rules function_509 and procedure_510.

* Issue#1252: Changed rule function_509 to function_510.

* Issue#1252: Added tests for rules function_509 and procedure_510.

* Issue#1252: Updated documentation for rules function_510 and procedure_510.
2024-10-20 17:07:07 -05:00
JHertz5 150c4d6700
Issue#1263: Rules for enforcing case on parameter class in functions and parameters (#1264)
* Issue#1263: Added rules function_511 and procedure_511.

* Issue#1263: Added tests for rules function_511 and procedure_511.

* Issue#1263: Removed duplicate token in rules function_511 and procedure_511.

* Issue#1263: Updated docstring for rules function_511 and procedure_511.

* Issue#1263: Updated docs for rules function_511 and procedure_511.
2024-10-20 10:52:38 -05:00
JHertz5 44fd761232
Issue#1265: Added rules for next statements (#1266)
* Issue#1265: Added rules next_statement_300, next_statement_500 and next_statement_501.

* Issue#1265: Added tests for rules next_statement_300, next_statement_500 and next_statement_501.

* Issue#1265: Added docs for rules next_statement_300, next_statement_500 and next_statement_501.

* Issue#1265: Update rule next_statement_300 to handle label alignment as well.

* Issue#1265: Updated indent rule group test.

---------

Co-authored-by: Jeremiah Leary <jeremiah.c.leary@gmail.com>
2024-10-20 10:31:58 -05:00
JHertz5 3d3835a08d
Issue#1275: Added rules for library names in entity instantiations (#1276)
* Issue#1275: Added rule instantiation_500.

* Issue#1275: Added tests for rule instantiation_500.

* Issue#1275: Added documentation for rule instantiation_500.

* Issue#1275: Reverted IEEE rule doc change.

* Issue#1275: Removed excess newline in docstring/documentation.
2024-10-20 10:31:19 -05:00
JHertz5 afb9a1d56e
Issue#1269: Rule to enforce case on exit statements (#1270)
* Issue#1269: Added rules exit_statement_300, exit_statement_500 and exit_statement_501.

* Issue#1269: Added tests for rules exit_statement_300, exit_statement_500 and exit_statement_501.

* Issue#1269: Added docs for rules exit_statement_500 and exit_statement_501.
2024-10-20 10:11:50 -05:00