testsAndMisc/python_pkg/code_tutor
Krzysztof kuhy Rudnicki 1d1938ce23 Split code_tutor cli and verifier, deleting two lint suppressions
cli.py 345 -> 222 and _verifier.py 347 -> 228, via _cli_checks.py and
_verifier_support.py.

The cli seam cut straight through code covered by its per-file-ignores.
Rather than copy S607 and PERF203 onto a second entry, both are fixed:
systemctl is resolved with shutil.which, and the readiness poll no
longer carries a try/except in its body now that the probe is its own
function. Both ignores are deleted from meta/pyproject.toml and ruff
passes without them - the repo has two fewer suppressions than before.

The which() fix adds a systemctl-is-None branch, so the pass count goes
216 -> 217: one new test for it, no existing test touched. Coverage is
back at 100% by covering the branch, not excluding it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 17:57:38 +02:00
..
tests Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00
__init__.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_analyzer.py Split the code_tutor import graph and scan tables out of _analyzer 2026-08-16 17:48:32 +02:00
_challenge_flows.py Split the code_tutor challenge flows out of _challenge 2026-08-16 17:42:50 +02:00
_challenge_prompts.py Split the code_tutor challenge flows out of _challenge 2026-08-16 17:42:50 +02:00
_challenge_support.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_challenge.py Split the code_tutor challenge flows out of _challenge 2026-08-16 17:42:50 +02:00
_cli_checks.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00
_deps.py Split the code_tutor import graph and scan tables out of _analyzer 2026-08-16 17:48:32 +02:00
_llm.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_plan_builder.py Split the code_tutor import graph and scan tables out of _analyzer 2026-08-16 17:48:32 +02:00
_progress.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_pytest_runner.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_scan_tables.py Split the code_tutor import graph and scan tables out of _analyzer 2026-08-16 17:48:32 +02:00
_session.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_verdict.py Split the code_tutor pytest runner and verdict streaming out 2026-08-16 17:33:58 +02:00
_verifier_support.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00
_verifier.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00
cli.py Split code_tutor cli and verifier, deleting two lint suppressions 2026-08-16 17:57:38 +02:00