Skip to content

Require Python 3.12 and adopt official ty hook - #30

Merged
janosh merged 3 commits into
mainfrom
adopt-official-ty-hook
Jun 11, 2026
Merged

janosh merged 3 commits into
mainfrom
adopt-official-ty-hook

Conversation

@janosh

@janosh janosh commented Jun 11, 2026 •

Copy link
Copy Markdown
Owner
  • Raise the package and Ruff target to Python 3.12, removing Python 3.11 from supported classifiers.
  • Update the CI test job to run on Python 3.12 so it matches the new project requirement.
  • Switch the local ty hook to Astral's official ty-pre-commit hook with isolated, all-extras resolution and a prek override for global UV_FROZEN=1.
  • Tighten typing around open kwargs and compression stats so the official ty hook runs cleanly.

@janosh janosh added breaking Breaking changes lint Linting labels Jun 11, 2026
@janosh janosh changed the title Adopt official ty pre-commit hook Require Python 3.12 and adopt official ty hook Jun 11, 2026
@janosh
janosh enabled auto-merge (squash) June 11, 2026 10:02
@janosh
janosh merged commit 21c9911 into main Jun 11, 2026
6 checks passed
@janosh
janosh deleted the adopt-official-ty-hook branch June 11, 2026 10:03
janosh added a commit that referenced this pull request Jul 31, 2026
* Adopt official ty pre-commit hook

* Run CI tests on Python 3.12

* Simplify ty hook typing cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking changes lint Linting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant