Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 204d26f

Browse files
author
David Muller
committed
Add flake8 and isort to travis tester
1 parent 1bb7827 commit 204d26f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E221,E501,E502,F403,W391,W602

.isort.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[settings]
2+
multi_line_output=4
3+
line_length=95

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: python
22
python:
33
- "2.7"
4-
4+
55
install: pip install -r requirements.txt
66

7-
script:
7+
script:
88
python -m unittest discover
9+
flake8
10+
isort --recursive --check-only

0 commit comments

Comments
 (0)