Explorar o código

[ci] Skip pylint on the generated DB migration files

Romain Rigaux %!s(int64=5) %!d(string=hai) anos
pai
achega
fe5c0ece14
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      tools/ci/check_for_python_lint.sh

+ 5 - 1
tools/ci/check_for_python_lint.sh

@@ -20,7 +20,11 @@
 HOME=${1:-"."}
 FOUND_ISSUE=-1
 
-files=`git diff --name-only origin/master --diff-filter=b | egrep .py$ | grep -v /ext-py/ | grep -v wsgiserver.py`
+files=`git diff --name-only origin/master --diff-filter=b | egrep .py$ | \
+  grep -v /ext-py/ | \
+  grep -v wsgiserver.py | \
+  grep -v /migrations/ | \
+  grep -v /org_migrations/`
 
 cd $HOME