diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54eec99..e2590a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/psf/black + # If you update the version here, also update it in tox.ini (py*-pytestlatest-linters) rev: 21.12b0 hooks: - id: black diff --git a/tox.ini b/tox.ini index 070e90c..63b147e 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl} ; Black doesn't support >py38 now [testenv:py38-pytestlatest-linters] -deps = black +deps = black==21.12b0 commands = black --check --verbose setup.py docs pytest_bdd tests [gh-actions]