Skip to content

Commit f1c400e

Browse files
author
cclauss
authored
pip install flake8
1 parent e4cae95 commit f1c400e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ python:
77
- "2.7.13"
88
- "3.5"
99
- "3.6"
10+
before_install:
11+
- pip install flake8
1012
before_script:
11-
# stop the build if there are Python syntax errors or undefined names
12-
- flake8 . --count --select=E901,E999,F821,F822,F823 --statistics
13-
# exit-zero treates all errors as warnings. The GitHub editor is 127 chars wide
14-
- flake8 . --count --exit-zero --max-line-length=127 --statistics
13+
# stop the build if there are Python syntax errors or undefined names
14+
- flake8 . --count --select=E901,E999,F821,F822,F823 --statistics
15+
# exit-zero treates all errors as warnings. The GitHub editor is 127 chars wide
16+
- flake8 . --count --exit-zero --max-line-length=127 --statistics
1517
install:
1618
- python setup.py install
1719
- pip install pexpect

0 commit comments

Comments
 (0)