forked from hellysmile/django-activeurl
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
44 lines (38 loc) · 800 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tox]
envlist =
{py36}-dj22
{py36}-dj30
{py36}-djmaster
[testenv]
commands = pytest tests
deps =
pytest
pytest-cov
jinja2
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
djmaster: https://github.com/django/django/archive/master.tar.gz
[testenv:py27-flake8]
deps =
flake8
commands = flake8 --show-source django_activeurl tests setup.py
[testenv:py36-flake8]
deps =
flake8
commands = flake8 --show-source django_activeurl tests setup.py
[testenv:py27-isort]
deps =
jinja2
isort
commands =
isort --check-only -rc django_activeurl --diff
isort --check-only -rc tests --diff
isort --check-only setup.py --diff
[testenv:py36-isort]
deps =
jinja2
isort
commands =
isort --check-only -rc django_activeurl --diff
isort --check-only -rc tests --diff
isort --check-only setup.py --diff