refactor: cleanup, linting, and tooling updates (#108)

This commit is contained in:
banteg
2026-01-13 01:34:08 +04:00
committed by GitHub
parent 2809974698
commit abd0aa2bb4
31 changed files with 457 additions and 486 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ def test_projects_default_engine_unknown() -> None:
"projects": {"z80": {"path": "/tmp/repo", "default_engine": "nope"}},
}
settings = TakopiSettings.model_validate(config)
with pytest.raises(ConfigError, match="projects.z80.default_engine"):
with pytest.raises(ConfigError, match=r"projects\.z80\.default_engine"):
settings.to_projects_config(
config_path=Path("takopi.toml"),
engine_ids=["codex"],