forked from django-crispy-forms/django-crispy-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
28 lines (26 loc) · 744 Bytes
/
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
[tox]
envlist =
{py36,py37,py38,py39}-django{22,31,32},
{py38,py39}-django-latest,
lint
[testenv]
deps =
django22: django>=2.2,<2.3
django31: django>=3.1,<3.2
django32: django>=3.2,<3.3
django-latest: https://github.com/django/django/archive/main.tar.gz
-rrequirements/testing.txt
allowlist_externals = make
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m pytest {posargs} --cov=crispy_forms
ignore_outcome =
django-latest: True
setenv =
PYTHONDONTWRITEBYTECODE=1
[testenv:lint]
skip_install = true
commands =
black crispy_forms setup.py --check
isort crispy_forms setup.py --check --dif
flake8 crispy_forms setup.py
deps =
-rrequirements/lint.txt