Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.4.0...v5.0.0)
- [github.com/asottile/pyupgrade: v3.10.1 → v3.19.0](asottile/pyupgrade@v3.10.1...v3.19.0)
- [github.com/asottile/blacken-docs: 1.16.0 → 1.19.1](adamchainz/blacken-docs@1.16.0...1.19.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.286 → v0.8.3](astral-sh/ruff-pre-commit@v0.0.286...v0.8.3)
  • Loading branch information
pre-commit-ci[bot] authored Dec 16, 2024
1 parent bf21559 commit 7660505
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
minimum_pre_commit_version: 2.15.0
exclude: ^LICENSES/|\.(html|csv|svg)$
default_stages: [
commit,
merge-commit,
push,
pre-commit,
pre-merge-commit,
pre-push,
prepare-commit-msg,
commit-msg,
post-checkout,
Expand All @@ -15,39 +15,39 @@ ci:
autofix_prs: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: debug-statements
- id: end-of-file-fixer
exclude: \.txt$
stages: [commit, merge-commit, push, prepare-commit-msg, commit-msg,
stages: [pre-commit, pre-merge-commit, pre-push, prepare-commit-msg, commit-msg,
post-checkout, post-commit, post-merge, post-rewrite]
- id: trailing-whitespace
stages: [commit, merge-commit, push, prepare-commit-msg, commit-msg,
stages: [pre-commit, pre-merge-commit, pre-push, prepare-commit-msg, commit-msg,
post-checkout, post-commit, post-merge, post-rewrite]
- id: mixed-line-ending
stages: [commit, merge-commit, push, prepare-commit-msg, commit-msg,
stages: [pre-commit, pre-merge-commit, pre-push, prepare-commit-msg, commit-msg,
post-checkout, post-commit, post-merge, post-rewrite]
args: ["--fix=lf"]
exclude: (tox.ini|.*.bat)

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.19.0
hooks:
- id: pyupgrade
stages: [commit]
stages: [pre-commit]
args: [--py3-plus]

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.19.1
hooks:
- id: blacken-docs
stages: [commit]
stages: [pre-commit]
additional_dependencies: [black==23.3.0]
language_version: python3

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.286
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -145,4 +145,4 @@ repos:
pass_filenames: false
language: system
types: [python]
stages: [push]
stages: [pre-push]

0 comments on commit 7660505

Please sign in to comment.