Skip to content

Commit a0b0673

Browse files
committed
run pycodestyle in travis
1 parent c936de0 commit a0b0673

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ python:
88
services:
99
- mongodb
1010

11+
before_install:
12+
- pip install pycodestyle
1113
install:
1214
- mongo --version
1315
- pip install --upgrade pip
@@ -31,3 +33,5 @@ install:
3133
script:
3234
- pip freeze
3335
- python setup.py test --pytest-args=-v
36+
# Skipped codes in setup.cfg. Tests not checked for now.
37+
- pycodestyle arctic

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pycodestyle]
2+
ignore = E122,E126,E501,E731,W503,E722,W504

0 commit comments

Comments
 (0)