Skip to content

Commit ee3faa7

Browse files
committed
Added flake8 to tox and travis
1 parent b206ec0 commit ee3faa7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
- TOXENV=py32
55
- TOXENV=py33
66
- TOXENV=py34
7+
- TOXENV=flake8
78
before_install:
89
- sudo apt-get update -qq
910
- sudo apt-get install libtidy-0.99-0

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py31, py32, py33, py34
2+
envlist = py27, py31, py32, py33, py34, flake8
33

44
[testenv]
55
downloadcache = {toxworkdir}/cache
@@ -9,3 +9,10 @@ deps = nose
99
pytidylib
1010
commands = coverage run --source=markdown {toxinidir}/run-tests.py {posargs}
1111
coverage report --show-missing
12+
13+
[testenv:flake8]
14+
deps = flake8
15+
commands = flake8 {toxinidir}/markdown {toxinidir}/tests {toxinidir}/setup.py {toxinidir}/run-tests.py
16+
17+
[flake8]
18+
max-line-length = 119

0 commit comments

Comments
 (0)