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

Commit

Permalink
Merge pull request #4283 from matrix-org/erikj/isort_df
Browse files Browse the repository at this point in the history
Make isort tox check print diff when it fails
  • Loading branch information
erikjohnston authored Dec 10, 2018
2 parents 30da50a + 74c3606 commit 9b1c19e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 9b1c19e

Please sign in to comment.