-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (26 loc) · 766 Bytes
/
tox.ini
File metadata and controls
33 lines (26 loc) · 766 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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py36
[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
deps =
-r requirements-pipenv.txt
-r requirements-pipenv-dev.txt
codecov: pytest-cov
codecov: codecov
setenv =
DJANGO_SETTINGS_MODULE = buza.settings_tox
codecov: PYTEST_ADDOPTS = --cov
# XXX: Is there any better way than this to get coverage paths reported right?
usedevelop =
codecov: true
commands =
django-admin check
pytest
codecov: codecov
mypy src tests
flake8
isort --check-only --diff