Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Make isort tox check print diff when it fails #4283

Merged
merged 2 commits into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/4283.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make isort tox check print diff when it fails
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -150,4 +150,4 @@ deps =
codecov
commands =
coverage combine
codecov -X gcov
codecov -X gcov