Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 4ed0dac

Browse files
committed
Add linter (flake8) back
1 parent e796078 commit 4ed0dac

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ matrix:
3232
python: 3.8-dev
3333
dist: xenial
3434
sudo: true
35-
# - env: TOXENV=py36-linters
36-
# python: 3.6
35+
- env: TOXENV=py36-lint
36+
python: 3.6

tox.ini

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
[tox]
2-
envlist = py27, py36, py37
2+
envlist = py27, py36, py37, lint
3+
34

45
[testenv]
5-
usedevelop = True
6-
setenv = VIRTUAL_ENV={envdir}
76
deps = -r{toxinidir}/test-requirements.txt
8-
commands =
9-
py.test -v {posargs:test/}
7+
commands = py.test -v {posargs:test/}
8+
109

11-
[testenv:pep8]
12-
deps = hacking==0.10.1
13-
usedevelop = False
10+
[testenv:lint]
11+
deps =
12+
flake8==3.5.0
13+
skip_install = True
1414
commands = flake8
1515

16+
1617
[flake8]
17-
exclude = .venv,.tox,dist,doc,*.egg,build
1818
show-source = true
19-
# H105 - author tags in files
20-
ignore = H105
19+
max-line-length = 99

0 commit comments

Comments
 (0)