File: tox.ini

package info (click to toggle)
python-channels-redis 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 276 kB
  • sloc: python: 2,125; sh: 6; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 618 bytes parent folder | download
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
[tox]
envlist =
    py{39,310,311,312,313}-ch4-redis6
    py313-chmain-redis6
    py313-ch4-redis{5,main}
    qa

[testenv]
usedevelop = true
extras = tests
commands =
    pytest -v {posargs}
deps =
    ch4: channels>=4.0,<5
    chmain: https://github.com/django/channels/archive/main.tar.gz
    redis5: redis>=5.0,<6
    redis6: redis>=6.0,<7
    redismain: https://github.com/redis/redis-py/archive/master.tar.gz

[testenv:qa]
skip_install=true
deps =
    black
    flake8
    isort
commands =
    flake8 channels_redis tests
    black --check channels_redis tests
    isort --check-only --diff channels_redis tests