mirror of
https://github.com/mvt-project/mvt.git
synced 2026-05-30 11:49:36 +02:00
Linted code using isort + autoflake + black, fixed wrong use of Optional[bool]
This commit is contained in:
Executable
+14
@@ -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}
|
||||
Reference in New Issue
Block a user