forked from jazzband/django-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (38 loc) · 1.05 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
[tox]
envlist =
lint
py{35,36,37,38}-django22-redis{latest,master}
py{36,37,38}-django30-redis{latest,master}
py{36,37,38}-djangomaster-redis{latest,master}
docs
[testenv]
commands =
{envpython} -b -Wa tests/runtests.py
{envpython} -b -Wa tests/runtests-sharded.py
{envpython} -b -Wa tests/runtests-herd.py
{envpython} -b -Wa tests/runtests-json.py
{envpython} -b -Wa tests/runtests-msgpack.py
{envpython} -b -Wa tests/runtests-zlib.py
{envpython} -b -Wa tests/runtests-lz4.py
deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
msgpack>=0.6.0
redismaster: https://github.com/andymccurdy/redis-py/archive/master.tar.gz
lz4>=0.15
[testenv:lint]
basepython = python3
commands =
black --target-version py35 --check --diff .
flake8
isort --check-only --diff --recursive
deps =
black
flake8
isort
skip_install = true
[testenv:docs]
deps = sphinx
commands = sphinx-build -n -W docs docs/_build
skip_install = true