diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fc0695a..d3049ff9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,16 +1,11 @@ repos: -- repo: https://github.com/ambv/black - rev: stable - hooks: +- repo: https://github.com/psf/black + rev: 21.5b1 + hooks: - id: black - language_version: python3.7 - -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.8 - hooks: + language_version: python3 +- repo: https://gitlab.com/pycqa/flake8 + rev: 3.9.2 + hooks: - id: flake8 - exclude: > - (?x)^( - demo/dask_gateway_config.py - )$ - language_version: python3.7 + language_version: python3