Skip to content

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

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 1 commit into
base: main
Choose a base branch
from
Open
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 @@ -18,28 +18,28 @@ repos:

# 2. Code Upgraders/Modifiers
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
rev: v3.20.0
hooks:
- id: pyupgrade
args: ["--py313-plus"]

- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
rev: v3.2.0
hooks:
- id: add-trailing-comma

# 3. Main Linter (with auto-fix)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version should match the one in pyproject.toml
rev: v0.11.9 # Use the same Ruff version tag as formatter
rev: v0.11.11 # Use the same Ruff version tag as formatter
hooks:
- id: ruff
args: [--fix]

# 4. Main Formatter (after linting/fixing)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version should match the one in pyproject.toml
rev: v0.11.9
rev: v0.11.11
hooks:
- id: ruff-format

Expand All @@ -53,7 +53,7 @@ repos:

# 6. Security Check
- repo: https://github.com/gitleaks/gitleaks
rev: v8.25.1 # Use the latest tag from the repo
rev: v8.26.0 # Use the latest tag from the repo
hooks:
- id: gitleaks

Expand Down