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.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/psf/black: 24.4.2 → 24.10.0](psf/black@24.4.2...24.10.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.4.3 → v0.8.2](astral-sh/ruff-pre-commit@v0.4.3...v0.8.2)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.13.0](pre-commit/mirrors-mypy@v1.10.0...v1.13.0)
- [github.com/asottile/pyupgrade: v3.15.2 → v3.19.0](asottile/pyupgrade@v3.15.2...v3.19.0)
  • Loading branch information
pre-commit-ci[bot] authored Dec 9, 2024
1 parent 33ca675 commit 2eb582d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:
skip:
- mypy # requires additional dependencies in ci
- identity # output is too verbose for ci; pre-commit.ci truncates almost all output after that
default_stages: [commit, push]
default_stages: [pre-commit, pre-push]
default_language_version:
# force all unspecified python hooks to run python3
python: python3.9
Expand All @@ -15,7 +15,7 @@ repos:
- id: check-hooks-apply

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-toml
Expand Down Expand Up @@ -55,43 +55,43 @@ repos:
exclude: ^python-sdk/mk/|^python-sdk/docs/Makefile|^python-sdk/Makefile$|^python-sdk/tests/benchmark/Makefile$

- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black
args: ["--config", "./python-sdk/pyproject.toml"]

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.19.1
hooks:
- id: blacken-docs
alias: black
additional_dependencies: [black>=22.10.0]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.4.3'
rev: 'v0.8.2'
hooks:
- id: ruff
args:
- --config=./ruff.toml

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
name: Run codespell to check for common misspellings in files
language: python
types: [text]
exclude: ^mk/.*\.mk$|^python-sdk/docs/Makefile|^python-sdk/Makefile$|^python-sdk/tests/modified_constraint_file.txt$|^python-sdk/tests/benchmark/Makefile$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.0'
rev: 'v1.13.0'
hooks:
- id: mypy
name: mypy-python-sdk
additional_dependencies: [types-PyYAML, types-attrs, attrs, types-requests, types-python-dateutil]
files: "^python-sdk/"

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand Down

0 comments on commit 2eb582d

Please sign in to comment.