You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
320 B
12 lines
320 B
#!/bin/bash
|
|
|
|
# Only pyflakes checks (--select=F)
|
|
flake8 --select=F $(find . -iname "*.py" | grep -vi "^\./pyextra.*" | grep -vi "^\./panda")
|
|
RESULT=$?
|
|
if [ $RESULT -eq 0 ]; then
|
|
pylint $(find . -iname "*.py" | grep -vi "^\./pyextra.*" | grep -vi "^\./panda")
|
|
RESULT=$? & 3
|
|
fi
|
|
|
|
[ $RESULT -ne 0 ] && exit 1
|
|
exit 0
|
|
|