diff options
author | Bryce Guinta <bryce.guinta@protonmail.com> | 2020-10-19 10:33:00 -0600 |
---|---|---|
committer | Bryce Guinta <bryce.guinta@protonmail.com> | 2020-10-19 10:33:00 -0600 |
commit | bd34fc0db9d465c5a3e114cfedd763f57ca7fbcf (patch) | |
tree | a3c9a738716fdb4d956df3556c40440c2d8b027b /tox.ini | |
parent | 606191b539aca55438ab1b3663a2538d260a98ac (diff) | |
download | pylint-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.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |