diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-12-14 13:49:23 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-12-14 16:09:19 +0100 |
commit | 3a065a16f0826f3d46025209b11d30a1fd5b3b49 (patch) | |
tree | 6d4eaa84ba63b39b68dc857215cd6be42f83aa69 /tox.ini | |
parent | dd5612fc74ce6e9437e84a5dc7e6790cff350238 (diff) | |
download | pylint-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
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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] |