diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2ae5f58b1a..54855ab1815 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,32 +1,32 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.9.3 + rev: 5.10.1 hooks: - id: isort language_version: python3 - repo: https://github.com/asottile/pyupgrade # Do not upgrade: there's a bug in Cython that causes sum(... for ...) to fail; # it needs sum([... for ...]) - rev: v2.13.0 + rev: v2.31.0 hooks: - id: pyupgrade args: - --py37-plus - repo: https://github.com/psf/black - rev: 21.9b0 + rev: 22.1.0 hooks: - id: black language_version: python3 exclude: versioneer.py args: - --target-version=py37 - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 hooks: - id: flake8 language_version: python3 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.910 + rev: v0.931 hooks: - id: mypy additional_dependencies: