Merge pull request #4283 from matrix-org/erikj/isort_df

Make isort tox check print diff when it fails
This commit is contained in:
Erik Johnston 2018-12-10 14:28:05 +00:00 committed by GitHub
commit 9b1c19e0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

1
changelog.d/4283.misc Normal file
View File

@ -0,0 +1 @@
Make isort tox check print diff when it fails

View File

@ -134,7 +134,7 @@ commands = /bin/sh -c "flake8 synapse tests scripts scripts-dev scripts/hash_pas
[testenv:check_isort]
skip_install = True
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]
skip_install = True