Skip to content

Commit 8f2f157

Browse files
authored
Travis CI: Use flake8 to find syntax errors and undefined names
http://flake8.pycqa.org
1 parent fd40e0d commit 8f2f157

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ env:
1111

1212
install:
1313
- pip install --upgrade pip
14-
- pip install markdown pypinyin
14+
- pip install flake8 markdown pypinyin
1515

1616
script:
17+
- flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
1718
- python utils/genReadme.py
1819
- python utils/genIndex.py
1920

0 commit comments

Comments
 (0)