-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (37 loc) · 884 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[pytest]
addopts = -vv --capture=no --exitfirst --showlocals
testpaths = tests
[tox]
; envlist=py26, py27, py33, py34, pypy, flake8
; envlist=py27, py34, py35, py36
envlist=py36
[testenv]
commands=py.test --cov vim_pck {posargs}
deps=
pytest
pytest-cov
coverage
; [testenv:flake8]
; basepython = python2.7
; deps =
; flake8
; commands =
; flake8 vim_pack tests --max-line-length=120
[flake8]
ignore =
# ignore line length warning
E501
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist
max-complexity = 10