-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
96 lines (84 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
86
87
88
89
90
91
92
93
94
95
96
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "asyncify"
version = "0.10.0"
description = "sync 2 async"
readme = "README.md"
keywords = ["async", "asyncify", "asyncio", "dgpy"]
authors = [{ name = "jesse", email = "[email protected]" }]
requires-python = ">=3.8,<4.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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 :: 3.13",
"Typing :: Typed",
]
dependencies = ["funkify>=0.4", "xtyping>=0.5"]
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/asyncify"]
[tool.hatch.build.targets.sdist]
include = [
"src",
"pyproject.toml",
"README.md",
"LICENSE",
]
[tool.ruff]
extend = "../../pyproject.toml"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--strict-config",
"--strict-markers",
"--doctest-modules",
"--disable-warnings",
"--cov-config=pyproject.toml",
"--ignore-glob=*/_meta.py",
]
xfail_strict = true
filterwarnings = [
"error",
"ignore::pytest.PytestUnraisableExceptionWarning",
]
markers = ["asyncio", "anyio"]
testpaths = ["asyncify", "tests"]
[tool.coverage.run]
source = ['asyncify']
branch = true
context = '${CONTEXT}'
omit = ["**/__main__.py"]
[tool.coverage.report]
precision = 2
show_missing = true
exclude_lines = [
'pragma: no cover',
'raise NotImplementedError',
'if TYPE_CHECKING:',
'@overload',
'\(Protocol\):$',
'class BaseAsync:',
'if 0:',
'if False:',
]
[tool.coverage.paths]
source = ['asyncify/']
[tool]
[tool.uv]
dev-dependencies = [
"pytest-asyncio>=0.23.8",
"anyio>=4.4.0",
"pytest>=8.3.2",
]