diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dceec63..f6c12c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black - id: black-jupyter - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-case-conflict - id: check-merge-conflict @@ -14,7 +14,7 @@ repos: exclude: '.*\.ipynb' - id: trailing-whitespace - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) @@ -27,37 +27,37 @@ repos: "--append-only", ] - repo: https://github.com/PyCQA/flake8 - rev: "6.0.0" + rev: "7.0.0" hooks: - id: flake8 additional_dependencies: ["flake8-bugbear"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.2.0" + rev: "v1.10.0" hooks: - id: mypy exclude: 'docs/source/conf\.py' - repo: https://github.com/codespell-project/codespell - rev: "v2.2.4" + rev: "v2.3.0" hooks: - id: codespell args: ["-I", "codespell.txt"] exclude: '.*\.ipynb' - repo: https://github.com/asottile/pyupgrade - rev: v3.3.2 + rev: v3.15.2 hooks: - id: pyupgrade args: ["--py37-plus"] - repo: https://github.com/asottile/setup-cfg-fmt - rev: "v2.2.0" + rev: "v2.5.0" hooks: - id: setup-cfg-fmt args: [--include-version-classifiers, --max-py-version=3.10] - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.9-for-vscode" + rev: "v4.0.0-alpha.8" hooks: - id: prettier - repo: https://github.com/hadialqattan/pycln - rev: v2.1.3 + rev: v2.4.0 hooks: - id: pycln args: [--config=pyproject.toml]