test(tools): add test suite for check_conventions #1569
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1569"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-08T12:47:20Z.
What
tools/check_conventions.pyruns on every GitHub PR in the repository, checking Conventional Commits formatting, agent file bans, note restrictions, relative Markdown link resolution, library export formatting, and stub naming.This adds a test suite in
tools/tests/test_check_conventions.pycovering:Can be run via standard unittest discovery:
python3 -m unittest discover tools/tests.Tested
python3 -m unittest discover tools/testspasses 7/7 tests in 0.002s.python3 tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:52:58Z.
Closing: these tests pin what
check_conventions.pydoes today, with no change behind them, and nothing in CI runs them. Tests go in together with the fix they cover.Pull request closed