Make isort tox check print diff when it fails
This commit is contained in:
parent
30da50a5b8
commit
25219b7b4e
2
tox.ini
2
tox.ini
|
@ -134,7 +134,7 @@ commands = /bin/sh -c "flake8 synapse tests scripts scripts-dev scripts/hash_pas
|
||||||
[testenv:check_isort]
|
[testenv:check_isort]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
deps = isort
|
deps = isort
|
||||||
commands = /bin/sh -c "isort -c -sp setup.cfg -rc synapse tests"
|
commands = /bin/sh -c "isort -c -df -sp setup.cfg -rc synapse tests"
|
||||||
|
|
||||||
[testenv:check-newsfragment]
|
[testenv:check-newsfragment]
|
||||||
skip_install = True
|
skip_install = True
|
||||||
|
|
Loading…
Reference in New Issue