File: tox.ini

package info (click to toggle)
python-django-otp 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 584 kB
  • sloc: python: 2,230; makefile: 152; sh: 6
file content (32 lines) | stat: -rw-r--r-- 761 bytes parent folder | download
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
[tox]
envlist = static
          py{3,35,36}-django22
          py{3,37}-django30
          py{3,38}-django31
          coverage

[testenv]
setenv = PYTHONPATH = {env:PYTHONPATH:}{:}{toxinidir}/test
         PYTHONWARNINGS = default
         DJANGO_SETTINGS_MODULE = test_project.settings
deps = qrcode
       freezegun
       django22: Django==2.2.*
       django30: Django==3.0.*
       django31: Django==3.1.*
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