You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ruff format` normalises string quotes to double, so `__version__` in
socketsecurity/__init__.py went from single to double quotes. Five places
parsed or rewrote that line assuming single quotes:
- version-check.yml stripped only `'`, so it read the version as `"2.7.2"`
(quotes included) and failed to parse it. This is what broke on the PR.
- build_container.sh and build_container_flexible.sh would have produced a
Docker tag containing literal quote characters.
- deploy-test-pypi.sh both read the version and rewrote it with a sed that
matched single quotes only, so the rewrite would silently no-op.
- .hooks/sync_version.py read either quote style but always wrote single
quotes, so it and the formatter would have rewritten the same line back
and forth on every commit.
Readers now strip both quote characters and the hook writes double quotes
to match the formatter.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments