summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorBryce Guinta <bryce.guinta@protonmail.com>2020-10-19 10:33:00 -0600
committerBryce Guinta <bryce.guinta@protonmail.com>2020-10-19 10:33:00 -0600
commitbd34fc0db9d465c5a3e114cfedd763f57ca7fbcf (patch)
treea3c9a738716fdb4d956df3556c40440c2d8b027b /tox.ini
parent606191b539aca55438ab1b3663a2538d260a98ac (diff)
downloadpylint-git-bd34fc0db9d465c5a3e114cfedd763f57ca7fbcf.tar.gz
Modify tox to show diff of formatting changes with black
With this change PR submitters can see what needs to be changed instead of just knowing that black needs to be run on the code. I think this is a good kind of feedback
Diffstat (limited to 'tox.ini')
-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}