[vlc-commits] flake8 . --exclude=./generator/templates
cclauss
git at videolan.org
Fri Jul 13 12:00:49 CEST 2018
vlc/python | branch: master | cclauss <cclauss at 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:
More information about the vlc-commits
mailing list