[pre-commit.ci] pre-commit autoupdate - #263
Merged
Merged
Conversation
updates: - [github.com/astral-sh/ruff-pre-commit: 2700fd5671c633760d912769c041bfcde2b9a01b → cb8c523fd4835aba42af70f4cad5568db4df0b6c](astral-sh/ruff-pre-commit@2700fd5...cb8c523) - [github.com/mxr/mirrors-ty: febed8a7b2665e80a9d3855c59ac716a6284d628 → d7f08bf6b37691c482773f198ba01539eb331d6a](mxr/mirrors-ty@febed8a...d7f08bf) - [github.com/mxr/sync-typing-deps: c2ec0c01a31703615c17e3fe11d1fe28c003f1d8 → a8b960f5e2bb3627b5a1fc8171fe224cdd64ff0a](mxr/sync-typing-deps@c2ec0c0...a8b960f) - [github.com/zizmorcore/zizmor-pre-commit: 64a97fb7fa63188393d3215c6e312f5f9c6d0f78 → 067260dc5fe6ea86b7551bfd6f8b3ba4e6c93129](zizmorcore/zizmor-pre-commit@64a97fb...067260d)
for more information, see https://pre-commit.ci
Ruff's isort rule now sorts imports and enforces the future annotations import, replacing the separate reorder-python-imports hook.
_Endpoint and _EntryTable were collapsed from unions of single-value Literals into flat Literals, so the old lit.__args__[0] unwrap crashed at import time since each item is now a plain str. Use get_args() directly, and make the timezone-naive date.today() tz-aware.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updates: