didericis
a5ebc2e8a0
fix(tests): resolve pyright strict errors in forge test helpers
...
CI runs `pyright .` over the whole repo including tests; the earlier
run only checked the source paths. The test helpers used `**over`
dict-splat into typed constructors, which pyright strict rejects.
- forge_state: build a typed ForgeState base and dataclasses.replace(**over)
- provenance: explicit typed keyword params instead of a **over dict
- resume: _launch_kwargs returns dict[str, Any] (copy call_args.kwargs)
- forge_base: assert PermissionError in __mro__ (avoids always-true issubclass)
- client: annotate _resp body param; type: ignore the mock __enter__ lambda
pyright . now 0 errors; 47 tests still pass; pylint 9.97/10.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WL77TgFxKbs3cidGMG9dz7
2026-07-09 19:08:08 +00:00
..
2026-06-26 20:35:47 -04:00
2026-07-08 12:38:15 -04:00
2026-06-23 16:53:41 -04:00
2026-06-04 11:30:51 -04:00
2026-06-22 23:54:02 -04:00
2026-06-10 22:25:00 -04:00
2026-06-22 19:09:22 +00:00
2026-06-22 23:54:02 -04:00
2026-06-25 08:58:28 +00:00
2026-06-04 11:27:23 -04:00
2026-06-23 16:53:41 -04:00
2026-07-09 00:19:24 -04:00
2026-07-09 19:08:08 +00:00
2026-06-09 03:27:31 +00:00
2026-07-09 00:19:24 -04:00
2026-06-25 16:13:19 -04:00
2026-06-25 08:58:28 +00:00
2026-06-25 16:13:19 -04:00
2026-06-07 11:35:35 -04:00
2026-07-01 19:50:38 +00:00
2026-07-01 19:50:38 +00:00
2026-07-08 12:38:15 -04:00
2026-07-09 19:08:08 +00:00
2026-07-09 19:08:08 +00:00
2026-06-25 04:12:43 -04:00
2026-07-09 19:08:08 +00:00
2026-07-09 19:08:08 +00:00
2026-06-30 15:08:14 -04:00
2026-06-03 23:04:17 -04:00
2026-06-26 23:22:18 -04:00
2026-06-25 03:08:47 -04:00
2026-06-25 08:58:28 +00:00
2026-06-08 23:05:14 -04:00
2026-06-23 16:53:41 -04:00
2026-06-22 23:54:02 -04:00
2026-06-30 15:08:14 -04:00
2026-06-23 16:53:41 -04:00
2026-06-25 06:07:47 +00:00
2026-07-01 19:50:38 +00:00
2026-07-01 19:50:38 +00:00
2026-06-25 05:25:42 +00:00
2026-06-25 22:04:27 -04:00
2026-05-28 17:56:14 -04:00
2026-07-08 23:46:47 -04:00
2026-07-09 17:35:28 +00:00
2026-07-08 23:46:47 -04:00
2026-07-08 23:46:47 -04:00
2026-06-25 04:12:43 -04:00
2026-06-24 15:37:57 -04:00
2026-07-08 12:38:15 -04:00
2026-06-10 22:25:00 -04:00
2026-07-06 15:48:36 -04:00
2026-06-23 03:02:03 +00:00
2026-06-25 03:27:46 -04:00
2026-06-22 23:54:02 -04:00
2026-06-25 16:13:19 -04:00
2026-06-24 22:51:27 -04:00
2026-06-25 05:10:03 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-26 21:19:27 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-07-09 00:19:24 -04:00
2026-06-25 03:08:47 -04:00
2026-06-01 22:24:17 -04:00
2026-06-25 04:23:13 -04:00
2026-06-10 22:25:00 -04:00
2026-07-08 12:38:15 -04:00
2026-06-04 11:30:51 -04:00
2026-07-09 00:03:00 -04:00
2026-06-04 11:30:51 -04:00
2026-07-08 22:01:35 -04:00
2026-07-09 00:19:24 -04:00
2026-06-04 11:30:51 -04:00
2026-06-04 21:54:06 +00:00
2026-07-08 23:46:47 -04:00
2026-07-08 22:01:35 -04:00
2026-06-03 17:26:15 +00:00
2026-07-06 18:53:53 +00:00
2026-07-06 17:16:18 +00:00
2026-07-06 18:53:53 +00:00
2026-07-06 18:53:53 +00:00
2026-07-09 17:21:57 +00:00