diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df64735170b..0c73e1d30b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: mixed-line-ending # This wants to go before isort & flake8 - repo: https://github.com/PyCQA/autoflake - rev: "v1.6.1" + rev: "v1.7.1" hooks: - id: autoflake # isort should run before black as black sometimes tweaks the isort output args: ["--in-place", "--ignore-init-module-imports"] @@ -19,14 +19,14 @@ repos: hooks: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: v2.38.2 + rev: v3.0.0 hooks: - id: pyupgrade args: - "--py38-plus" # https://github.com/python/black#version-control-integration - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 22.10.0 hooks: - id: black - id: black-jupyter @@ -35,7 +35,7 @@ repos: hooks: - id: blackdoc exclude: "generate_reductions.py" - additional_dependencies: ["black==22.8.0"] + additional_dependencies: ["black==22.10.0"] - id: blackdoc-autoupdate-black - repo: https://github.com/PyCQA/flake8 rev: 5.0.4 @@ -47,7 +47,7 @@ repos: # - id: velin # args: ["--write", "--compact"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.981 + rev: v0.982 hooks: - id: mypy # Copied from setup.cfg