Closed mambelli closed 1 year ago
Fixing possible nullglob problems:
for i in *.txt
[ -e "$i" ] || continue
shopt -s nullglob
This PR upgrades also the isort version in pre-commit to 5.11.5 to fix an isort bug w/ poetry and maintain python 3.7 compatibility
Fixing possible nullglob problems:
for i in *.txt
, if there is no match the shell will return the string with wildcards as value in the loop[ -e "$i" ] || continue
) or useshopt -s nullglob
to change the behavior in bashThis PR upgrades also the isort version in pre-commit to 5.11.5 to fix an isort bug w/ poetry and maintain python 3.7 compatibility