summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2020-11-26 15:47:58 +0100
committerGitHub <noreply@github.com>2020-11-26 15:47:58 +0100
commit2eb312dd09303ef389b0fa7d78452a48ece7dd5d (patch)
tree744a0a039751596ceb594e1a4b2d4afc2fe4af00
parent5b4e9a066f06f98bac35b05580ed2d7657f98e66 (diff)
parentbd34fc0db9d465c5a3e114cfedd763f57ca7fbcf (diff)
downloadpylint-git-2eb312dd09303ef389b0fa7d78452a48ece7dd5d.tar.gz
Merge pull request #3910 from brycepg/tweak/tox-black-diff
Modify tox to show diff of formatting changes with black Thanks @brycepg . For your information `pre-commit` tool may help you to automatically format the code.
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9ea794983..ed9ea4f9d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -39,7 +39,7 @@ deps =
black==20.8b1
isort==5.5.2
commands =
- black --check . --exclude="tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/|venv|astroid|.tox"
+ black --diff --check . --exclude="tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/|venv|astroid|.tox"
isort . --check-only
changedir = {toxinidir}