Files
wild-pc/castle-api
Paul Payne 12dea5651c Fix pre-existing type errors in config_editor
`_require_repo()` now returns the validated repo root (Path) instead of
None, so callers get a non-None path and pyright stops flagging `root /
spec.source` and the `CastleConfig(root=root)` construction. Drops the
redundant `get_castle_root()` re-fetch after each guard and hoists the
`pathlib.Path` import to module scope.
2026-06-29 07:11:22 -07:00
..