mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-07-26 20:02:11 +08:00
0932b367bd
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
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
|