forked from github/pelican
Adjust isort task: v5.2+ is now recursive by default
This commit is contained in:
parent
f739598289
commit
5c93a86eea
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
|
@ -64,7 +64,7 @@ def isort(c, check=False, diff=False):
|
||||||
if diff:
|
if diff:
|
||||||
diff_flag = "--diff"
|
diff_flag = "--diff"
|
||||||
c.run(
|
c.run(
|
||||||
f"{VENV_BIN}/isort {check_flag} {diff_flag} --recursive {PKG_PATH}/* tasks.py"
|
f"{VENV_BIN}/isort {check_flag} {diff_flag} ."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue