forked from jazzband/djangorestframework-simplejwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (45 loc) · 1.12 KB
/
tox.ini
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist=
py{37,38,39}-django{22,30}-drf310-tests
py{37,38,39}-django{22,30,31}-drf{311,312}-tests
py39-djangomaster-drf312-tests
lint
docs
[flake8]
ignore=E501
[testenv]
usedevelop=True
commands=
tests: pytest {posargs:tests} --cov=rest_framework_simplejwt
docs: make build-docs
commands_post=
py39-django31-drf312: codecov -e TOXENV
basepython=
docs: python3.8
py37: python3.7
py38: python3.8
py39: python3.9
extras=
test
python-jose
docs: doc
setenv=
PYTHONDONTWRITEBYTECODE=1
passenv=
CODECOV_TOKEN
deps=
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
drf310: djangorestframework>=3.10,<3.11
drf311: djangorestframework>=3.11,<3.12
drf312: djangorestframework>=3.12,<3.13
py39-django31-drf312: codecov
djangomaster: https://github.com/django/django/archive/master.tar.gz
whitelist_externals=make
[testenv:lint]
basepython=python3.8
extras=lint
commands=
flake8 {toxinidir}/rest_framework_simplejwt {toxinidir}/tests
isort --check-only --diff {toxinidir}/rest_framework_simplejwt {toxinidir}/tests