From 3a065a16f0826f3d46025209b11d30a1fd5b3b49 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 14 Dec 2020 13:49:23 +0100 Subject: Use pre-commit directly in the formatting tox job Will prevent change in one of the script to affect the other one --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 5767a3f36..1f88a5335 100644 --- a/tox.ini +++ b/tox.ini @@ -36,11 +36,11 @@ commands = [testenv:formatting] basepython = python3 deps = - black==20.8b1 - isort==5.5.2 + pre-commit + sphinx + pytest commands = - black --diff --check . --exclude="tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/|venv|astroid|.tox" - isort . --check-only + pre-commit run --all-files changedir = {toxinidir} [testenv:mypy] -- cgit v1.2.1