Skip to content

chore(pre-commit.ci): pre-commit autoupdate #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ ci:

repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.2
rev: v4.8.3
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: debug-statements
- id: check-builtin-literals
Expand All @@ -38,13 +38,13 @@ repos:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.11
rev: v0.12.8
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/cdce8p/python-typing-update
rev: v0.7.1
rev: v0.7.2
hooks:
- id: python-typing-update
stages: [manual]
Expand All @@ -58,7 +58,7 @@ repos:
# hooks:
# - id: codespell
- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v1.15.0
rev: v1.17.1
hooks:
- id: mypy
alias: mypy-py313
Expand Down
2 changes: 1 addition & 1 deletion flux_led/sock.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _retry_wrap(
**kwargs: Any,
) -> Any:
attempts_remaining = retry + 1
while attempts_remaining: # noqa: RET503
while attempts_remaining:
attempts_remaining -= 1
try:
ret = func(self, *args, **kwargs)
Expand Down
Loading