-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (74 loc) · 1.99 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
82
83
84
85
[project]
name = "async-wrapper"
version = "0.0.0"
description = "async wrapper"
authors = [{ name = "phi", email = "phi.friday@gmail.com" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: AnyIO",
"Framework :: AsyncIO",
"Framework :: Trio",
]
requires-python = ">= 3.8"
dependencies = [
"typing-extensions>=4.4.0",
"anyio>=4.0.0",
"sniffio>=1.3.1",
"exceptiongroup; python_version < '3.11'",
]
[project.urls]
Documentation = "https://async-wrapper.readthedocs.io/"
Repository = "https://github.com/phi-friday/async-wrapper"
[project.optional-dependencies]
uvloop = ["uvloop; platform_system != 'Windows'"]
docs = [
"sphinx>=7.1.0",
"readthedocs-sphinx-search>=0.3.2",
"sphinx-rtd-theme>=2.0.0",
"sphinx-mdinclude>=0.5.3",
]
[tool.rye]
managed = true
dev-dependencies = [
"ruff==0.4.4",
"ipykernel>=6.29.0",
"pytest>=8.0.0",
"pre-commit>=3.5.0",
"trio>=0.24.0",
"pyyaml>=6.0.1",
"pytest-cov>=4.1.0",
]
[tool.rye.scripts]
html = { cmd = "make html" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/async_wrapper"]
[tool.pyright]
include = ["src", "tests"]
pythonVersion = '3.8'
pythonPlatform = 'Linux'
diagnostic = 'basic'
[tool.pytest.ini_options]
addopts = "--cov=src/async_wrapper --cov-report html --cov-report=xml"
testpaths = ["tests"]
[tool.coverage.run]
omit = ["./tests/**/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]