Linted code using isort + autoflake + black, fixed wrong use of Optional[bool]

This commit is contained in:
Nex committed 2023-06-01 23:40:26 +02:00
1 parent c2d740ed36
commit e1677639c4
139 files changed
+3751 -2274

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh -e
export SOURCE="mvt tests"
export PREFIX=""
if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi
set -x
${PREFIX}autoflake --in-place --recursive --exclude venv ${SOURCE}
${PREFIX}isort ${SOURCE}
${PREFIX}black --exclude venv ${SOURCE}