add lines number
Signed-off-by: Christophe Lampin <weboob@lampin.net>
This commit is contained in:
parent
f6b35956e7
commit
81c1e65092
1 changed files with 3 additions and 3 deletions
|
|
@ -2,9 +2,9 @@
|
|||
cd $(dirname $0)
|
||||
cd ..
|
||||
PYFILES=$(git ls-files|grep '^scripts\|\.py$'|grep -v boilerplate_data|tr '\n' ' ')
|
||||
grep 'class [^( ]\+:$' ${PYFILES} && exit 3
|
||||
grep $'\t\|\s$' $PYFILES && exit 4
|
||||
grep '\.setlocale' ${PYFILES} && exit 5
|
||||
grep -n 'class [^( ]\+:$' ${PYFILES} && exit 3
|
||||
grep -n $'\t\|\s$' $PYFILES && exit 4
|
||||
grep -n '\.setlocale' ${PYFILES} && exit 5
|
||||
|
||||
FLAKE8=""
|
||||
if which flake8 >/dev/null 2>&1; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue