forked from django-otp/django-otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (27 loc) · 699 Bytes
/
tox.ini
File metadata and controls
30 lines (27 loc) · 699 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
[tox]
envlist = static
py{3,36}-django22
py{3,39}-django32
coverage
[testenv]
setenv = PYTHONPATH = {env:PYTHONPATH:}{:}{toxinidir}/test
PYTHONWARNINGS = default
DJANGO_SETTINGS_MODULE = test_project.settings
deps = qrcode
freezegun
django22: Django==2.2.*
django32: Django==3.2.*
commands = {envpython} -m django test django_otp
[testenv:static]
basepython = python3
deps = flake8
isort==5.*
skip_install = true
commands = flake8 src
isort --check src
[testenv:coverage]
basepython = python3
deps = {[testenv]deps}
coverage
commands = coverage run -m django test django_otp
coverage report