Skip to content

Commit bb87b68

Browse files
authored
Add --diff as a default argument for isort (frequenz-floss#55)
Without it, isort just complains that imports are incorrectly formatted, without showing how to fix it.
2 parents 150f19e + a0c12d6 commit bb87b68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frequenz/repo/config/nox/default.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"-v2", # for verbose error messages.
3838
],
3939
isort=[
40+
"--diff",
4041
"--check",
4142
],
4243
mypy=[

0 commit comments

Comments
 (0)