19 lines
464 B
Bash
Executable File
19 lines
464 B
Bash
Executable File
#!/bin/sh -eu
|
|
|
|
if [ $# -ge 1 ]
|
|
then
|
|
files=$*
|
|
else
|
|
files="testsuite/setup.py testsuite/datmantests testsuite/helpers testsuite/yamatests datman-helper-postgres/datman_helper_postgres datman-helper-mysql/datman_helper_mysql"
|
|
fi
|
|
|
|
echo "Linting these locations: $files"
|
|
echo " ===== Running isort ===== "
|
|
isort $files
|
|
echo " ===== Running black ===== "
|
|
black $files
|
|
echo " ===== Running flake8 ===== "
|
|
flake8 $files
|
|
#echo " ===== Running mypy ===== "
|
|
#mypy $files
|