diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e9a979f5e..02bec11abe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,5 @@ repos: + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: @@ -20,28 +21,33 @@ repos: - id: trailing-whitespace # exclude generated files exclude: ^validation/|\.dtd$|\.xml$ + - repo: https://github.com/psf/black rev: 20.8b1 hooks: - id: black + - repo: https://github.com/asottile/blacken-docs rev: v1.10.0 hooks: - id: blacken-docs additional_dependencies: [black==20.8b1] -- repo: https://gitlab.com/pycqa/flake8 + +- repo: https://github.com/PyCQA/flake8 rev: 3.9.0 hooks: - id: flake8 + - repo: https://github.com/asottile/pyupgrade rev: v2.11.0 hooks: - id: pyupgrade args: ["--py37-plus"] + - repo: https://github.com/nbQA-dev/nbQA - rev: 0.5.9 + rev: 0.6.0 hooks: - id: nbqa-black additional_dependencies: [black==20.8b1] - id: nbqa-pyupgrade - additional_dependencies: [pyupgrade==2.7.4] + additional_dependencies: [pyupgrade==2.11.0]