Skip to content

Commit

Permalink
Merge pull request #501 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Travis CI: Add more flake8 tests
  • Loading branch information
iredmail committed Jun 9, 2019
2 parents 184dd0c + 45149b4 commit 16c5395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ install:
before_script:
# stop the build if there are Python syntax errors or undefined names
# TODO: When we have an answer to webpy/webpy#482 we should remove the --exclude
- flake8 . --count --exclude=./web/webapi.py --select=E901,E999,F821,F822,F823 --show-source --statistics
- flake8 . --count --exclude=./web/webapi.py --select=E9,F63,F72,F82 --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
- psql -c 'create database webpy;' -U postgres
Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ psycopg2
PyMySQL
mysql-connector>=2.1.4
DBUtils
pytest
pytest>=4.6.2

0 comments on commit 16c5395

Please sign in to comment.