mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-21 01:42:06 +08:00
0932b367bd
old-commit-hash: 3f9059fea8
12 lines
275 B
Bash
12 lines
275 B
Bash
#!/bin/bash
|
|
|
|
pyflakes $(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
|