-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (27 loc) · 706 Bytes
/
tox.ini
File metadata and controls
34 lines (27 loc) · 706 Bytes
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
[tox]
envlist = py37
[testenv]
deps = -rrequirements_dev.txt
commands =
coverage erase
coverage run -m pytest --strict {posargs:tests}
coverage report -m --show-missing --omit=.tox/*,tests/*
[pytest]
python_files = test_*.py
norecursedirs = .tox
[testenv:devenv]
envdir = devenv
basepython = python3.7
usedevelop = True
deps = -rrequirements_dev.txt
[flake8]
ignore = E402
exclude = .git,.tox,docs,virtualenv_run
filename = *.py,*.wsgi
max-line-length = 131
[pep8]
ignore = E265,E309,E501
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt