-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
61 lines (54 loc) · 1.4 KB
/
pyproject.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[build-system]
# poetry-core 1.2.0-1.2.2 suffers from https://github.com/python-poetry/poetry/issues/6807
requires = ["poetry_core>=1.0.0,<1.2"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "channels_rabbitmq"
version = "0.0.0"
description = "RabbitMQ-based ASGI channel layer implementation"
authors = ["Adam Hooper <[email protected]>"]
license = "BSD"
readme = "README.rst"
[tool.poetry.dependencies]
carehare = "~=1.0"
channels = ">=3.0,<5"
msgpack = "~=1.0"
python = "~=3.8"
[tool.poetry.dev-dependencies]
pytest = "~=7.2"
pytest-asyncio = "~=0.20"
pytest-cov = "~=4.0"
pytest-timeout = "~=2.1"
asgiref = "~=3.5"
[tool.isort]
# Black compatibility
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
skipsdist = True
envlist = {py38,py39,py310}-{pyflakes,black,isort,pytest}
[flake8]
exclude = venv/*,tox/*,specs/*,build/*
ignore = E123,E128,E266,E402,W503,E731,W601
max-line-length = 88
[testenv]
skip_install = true
deps =
pyflakes: pyflakes>=2.2
black: black
isort: isort
pytest: poetry
commands_pre =
pytest: poetry install -v
commands =
pyflakes: pyflakes channels_rabbitmq tests
black: black --check channels_rabbitmq tests
isort: isort --check --diff channels_rabbitmq tests
pytest: poetry run pytest --cov=channels_rabbitmq --cov-report term-missing -v
"""