forked from AngellusMortis/django_microsoft_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
executable file
·32 lines (30 loc) · 762 Bytes
/
tox.ini
File metadata and controls
executable file
·32 lines (30 loc) · 762 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
[tox]
envlist =
py36-{dj22,dj30,dj31},
py37-{dj30,dj31}
py37-{dj22,dj22-extras} # main line, only test extras here
py38-{dj22,dj30,dj31},
py39-{dj22,dj30,dj31},
pypy3-{dj22,dj30,dj31},
lint
[testenv:lint]
basepython=python
deps=-r{toxinidir}/reqs/lint.in
commands=
flake8 microsoft_auth tests setup.py
isort --check-only --recursive
black --check microsoft_auth tests setup.py
bandit -r microsoft_auth
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj22-extras: djangoql
dj22-extras: django-constance[database]
-r{toxinidir}/tox-requirements.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir}