19 lines
525 B
Bash
Executable File
19 lines
525 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-postgres/setup.py datman-helper-mysql/datman_helper_mysql datman-helper-mysql/setup.py"
|
|
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
|