summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-12-14 13:49:23 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-12-14 16:09:19 +0100
commit3a065a16f0826f3d46025209b11d30a1fd5b3b49 (patch)
tree6d4eaa84ba63b39b68dc857215cd6be42f83aa69
parentdd5612fc74ce6e9437e84a5dc7e6790cff350238 (diff)
downloadpylint-git-3a065a16f0826f3d46025209b11d30a1fd5b3b49.tar.gz
Use pre-commit directly in the formatting tox job
Will prevent change in one of the script to affect the other one
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
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]