| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Mechanical changes from the bumped hooks, mainly pyupgrade --py310-plus (PEP 585/604 annotations), removal of now-unused typing imports, and black 26 / isort 8 reformatting. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The previous local pre-commit runs spuriously skipped tests/middleware_tests/test_latex_encoding.py, which made the pre-commit CI job fail on the sweep commit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts: # bibtexparser/entrypoint.py # bibtexparser/library.py # bibtexparser/middlewares/latex_encoding.py # bibtexparser/middlewares/names.py
| Back | FazBrowse Home | New Git URL |
Summary
Fixes the pre-commit config drift:
Includes the hook sweep after all
This was originally intended config-only, deferring the --all-files rewrite to a later PR to avoid conflicts with #560/#562/#563. That plan turned out not to be viable: the pre-commit CI job runs the updated hooks on all files, so the config-only head was red (see checks on 81e580d). The second commit therefore applies the hooks to the codebase: PEP 585/604 typing modernization, removal of then-unused typing imports, black 26 / isort 8 reformatting. Hooks were run to a fixpoint (they need several passes, as pyupgrade runs after autoflake/isort); the full test suite passes.
Merge-order note: the sweep touches 25 files mechanically and will conflict with #560/#562/#563. Suggested order: merge those first, then rebase this branch and re-run pre-commit run --all-files to refresh the sweep. The annotation changes here may also partly subsume #563 / the 538-type-annotations work.
The optional ruff consolidation from the issue is left out as a separate decision.
Fixes #546
🤖 Generated with Claude Code