weboob-devel/tools/pyflakes.sh
2011-03-02 00:18:30 +01:00

7 lines
214 B
Bash
Executable file

#!/bin/bash
cd $(dirname $0)
cd ..
# grep will return 0 only if it founds something, but our script
# wants to return 0 when it founds nothing!
pyflakes weboob scripts/* | grep -v redefinition && exit 1 || exit 0