-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (27 loc) · 719 Bytes
/
tox.ini
File metadata and controls
29 lines (27 loc) · 719 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
[tox]
envlist = py37
[testenv]
passenv=HOME
deps = pipenv
commands_pre=
pipenv install --dev --ignore-pipfile
commands=
pytest --cov-config=.coveragerc --cov=template --cov=common --cov=project
[testenv:py37]
basepython = python3.7
[testenv:bandit]
basepython = python3.7
commands =
bandit -x venv,.tox,django_scaffold.egg-info,manage.py -r template common
[testenv:safety]
basepython = python3.7
commands =
pipenv check -vvvv
[testenv:pylint]
basepython = python3.7
commands =
pylint --rcfile={toxinidir}/pylintrc --ignore=venv,.tox,django_scaffold.egg-info */*.py
[testenv:flake8]
basepython = python3.7
commands =
flake8 --ignore=E501 --exclude=venv,.tox,django_scaffold.egg-info,manage.py