More code quality checks
This commit is contained in:
parent
13026702bd
commit
a99b1ce73d
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash -u
|
||||
cd $(dirname $0)
|
||||
cd ..
|
||||
grep -r --include '*.py' 'class [^( ]\+:$' . && exit 3
|
||||
grep -r --include '*.py' $'\t\|\s$' . && exit 4
|
||||
|
||||
FLAKE8=""
|
||||
if which flake8 >/dev/null 2>&1; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue