diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ff996d..3179cae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,8 +5,8 @@ ci: - pytype # does not support py3.11 yet repos: -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.269 +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.5.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -20,7 +20,7 @@ repos: args: [--fix, --exit-non-zero-on-fix, --config=_typeshed/pyproject.toml] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black types: [] @@ -32,7 +32,7 @@ repos: files: ^_typeshed/.*.pyi?$ args: [--config=_typeshed/pyproject.toml] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: no-commit-to-branch - id: trailing-whitespace @@ -47,7 +47,7 @@ repos: - id: pretty-format-json args: [--autofix] - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.0 hooks: - id: flake8 additional_dependencies: @@ -58,24 +58,24 @@ repos: - flake8-pyproject==1.2.2 - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.9 hooks: - id: bandit exclude: tests/ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.11.0 hooks: - id: mypy exclude: tests/.*.py types: [python] additional_dependencies: [devpi-client,keyring] - repo: https://github.com/hoefling/pre-commit-pytype - rev: 2023.4.27 + rev: 2024.4.11 hooks: - id: pytype exclude: tests/.*.py