diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a407af34b..d13387c7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,27 +55,27 @@ 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.8.0 hooks: - id: black args: ["--config", "./python-sdk/pyproject.toml"] - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.18.0 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.6.8' 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 @@ -83,7 +83,7 @@ repos: 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.11.2' hooks: - id: mypy name: mypy-python-sdk @@ -91,7 +91,7 @@ repos: files: "^python-sdk/" - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py37-plus]