Commit d644410
fix: CI test + mypy failures on main
- mypy: rename inner http handler in `cli.py` visualize-serve path
from `handler` to `http_handler`. The daemon dispatcher at the top
of `main()` already binds `handler: Callable[[Namespace], None]`,
and reusing the name for `functools.partial(SimpleHTTPRequestHandler, ...)`
made mypy unify the two scopes and reject both the assignment and the
HTTPServer call site.
- test: align `test_install_qoder_config` with the canonical
`_detect_serve_command()` pattern used by sibling tests in the same
class (lines 528, 594). The hard-coded `"code-review-graph"` fallback
predates PR #287, which switched the no-uvx fallback to
`sys.executable -m code_review_graph serve` for venv robustness.
On CI runners without `uvx` the test was asserting against a stale
contract.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ed5e980 commit d644410
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
| 1037 | + | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
1043 | | - | |
| 1043 | + | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | | - | |
797 | | - | |
| 796 | + | |
798 | 797 | | |
799 | 798 | | |
800 | 799 | | |
| |||
0 commit comments