Skip to content

Commit 7415c09

Browse files
lukeyeagersoumith
authored andcommitted
Check setup.py for pep8 lint on TravisCI
1 parent a1fa995 commit 7415c09

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ sudo: false
3030

3131
matrix:
3232
fast_finish: true
33+
include:
34+
env: LINT_CHECK
35+
python: "2.7"
36+
addons: true
37+
install: pip install pep8
38+
script: pep8 setup.py

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pep8]
2+
max-line-length = 120

0 commit comments

Comments
 (0)