vlc/python | branch: master | cclauss <ccla...@bluewin.ch> | Tue Jul 10 16:27:51 2018 +0200| [7a84af9c70a570ad4b08677827cfde86a00d22f5] | committer: GitHub
flake8 . --exclude=./generator/templates > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=7a84af9c70a570ad4b08677827cfde86a00d22f5 --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4fc1b0..cf2d763 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,10 +17,11 @@ install: #- pip install -r requirements.txt - pip install flake8 # pytest # add another testing frameworks later before_script: + - EXCLUDE=./generator/templates # stop the build if there are Python syntax errors or undefined names - - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - flake8 . --count --exclude=$EXCLUDE --select=E901,E999,F821,F822,F823 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - flake8 . --count --exclude=$EXCLUDE --exit-zero --max-complexity=10 --max-line-length=127 --statistics script: - true # pytest --capture=sys # add other tests here notifications: _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits