forked from ellmetha/django-precise-bbcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (32 loc) · 604 Bytes
/
tox.ini
File metadata and controls
35 lines (32 loc) · 604 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
33
34
35
[tox]
envlist=
py27-django{111},
py34-django{111,20},
py35-django{111,20,21},
py36-django{111,20,21},
lint,
isort
skipsdist = True
skip_missing_interpreters = True
[testenv]
deps =
pipenv
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django==2.1b1
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
passenv = PYTHONPATH
commands =
pipenv install --dev --skip-lock
py.test
[testenv:lint]
deps =
flake8
commands =
flake8
[testenv:isort]
deps =
isort
commands =
isort --check-only --recursive --diff precise_bbcode tests