The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: suppress windows-footgun false positive on binary tomllib open
Tekniumff7c9511518d
diff --git a/hermes_cli/update_cmd.py b/hermes_cli/update_cmd.pyindex 76d69af6c4d..e1df0aa1ae6 100644--- a/hermes_cli/update_cmd.py+++ b/hermes_cli/update_cmd.py@@ -850,7 +850,7 @@ def _read_project_version() -> str | None:try:import tomllib- with open(_m().PROJECT_ROOT / "pyproject.toml", "rb") as fh:+ with open(_m().PROJECT_ROOT / "pyproject.toml", "rb") as fh: # windows-footgun: ok — binary mode, tomllib requires bytesversion = tomllib.load(fh).get("project", {}).get("version")return str(version) if version else Noneexcept Exception: