-
-
Notifications
You must be signed in to change notification settings - Fork 121
/
pyproject.toml
81 lines (68 loc) · 1.92 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "broadcaster"
dynamic = ["version"]
description = "Simple broadcast channels."
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.8"
authors = [
{ name = "Tom Christie", email = "tom@tomchristie.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"anyio>=3.4.0,<5",
"typing_extensions>=3.10.0; python_version < '3.10'",
]
[project.optional-dependencies]
redis = ["redis"]
postgres = ["asyncpg"]
kafka = ["aiokafka"]
test = ["pytest", "pytest-asyncio"]
[project.urls]
Homepage = "https://github.com/encode/broadcaster"
[tool.hatch.version]
path = "broadcaster/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/broadcaster",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "FA", "UP"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
strict = true
python_version = "3.8"
disallow_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = "-rxXs"
markers = "copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"
[tool.coverage.run]
source_pkgs = ["broadcaster", "tests"]
[tool.coverage.report]
fail_under = 78
show_missing = true
skip_covered = true