1
0
Fork 0
forked from github/pelican

Adjust isort task: v5.2+ is now recursive by default

This commit is contained in:
Justin Mayer 2020-08-11 09:13:00 +02:00
commit 5c93a86eea

View file

@ -64,7 +64,7 @@ def isort(c, check=False, diff=False):
if diff:
diff_flag = "--diff"
c.run(
f"{VENV_BIN}/isort {check_flag} {diff_flag} --recursive {PKG_PATH}/* tasks.py"
f"{VENV_BIN}/isort {check_flag} {diff_flag} ."
)