Skip to content

[pre-commit.ci] pre-commit autoupdate - #678

Merged
max-sixty merged 2 commits into
mainfrom
pre-commit-ci-update-config
Jul 30, 2026
Merged

[pre-commit.ci] pre-commit autoupdate#678
max-sixty merged 2 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

pre-commit-ci Bot and others added 2 commits July 27, 2026 17:09
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.22 → v0.16.0](astral-sh/ruff-pre-commit@v0.15.22...v0.16.0)
ruff 0.16.0 adds RUF015, which flags `list(connections)[0]` and classes
the rewrite as unsafe, so the autoupdate's own hook run can't apply it.
`connections` is a re-iterable container here, so `next(iter(...))` is
equivalent.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@max-sixty
max-sixty merged commit d93e8b7 into main Jul 30, 2026
7 checks passed
@max-sixty
max-sixty deleted the pre-commit-ci-update-config branch July 30, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant