-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
116 lines (105 loc) · 2.53 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
build-backend = "maturin"
requires = [ "maturin>=1,<2" ]
[project]
name = "ry"
description = "ry = rust + python kitchen sink utils (WIP)"
keywords = [
"pyo3",
"rust",
]
license = "MIT OR Apache-2.0"
maintainers = [
{ name = "jesse rubin", email = "[email protected]" },
]
authors = [
{ name = "jesse rubin", email = "[email protected]" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Rust",
"Topic :: Utilities",
"Typing :: Typed",
]
dynamic = [ "readme", "version" ]
urls.Changelog = "https://github.com/jessekrubin/ry/blob/main/CHANGELOG.md"
urls.Homepage = "https://github.com/jessekrubin/ry"
urls.Issues = "https://github.com/jessekrubin/ry/issues"
urls.Source = "https://github.com/jessekrubin/ry"
[tool.maturin]
python-source = "python"
strip = true
features = [ "pyo3/extension-module" ]
module-name = "ry.ryo3"
bindings = "pyo3"
[tool.ruff]
extend = "./ruff.toml"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
filterwarnings = [
"ignore:ry not compiled in release mode:RuntimeWarning",
]
addopts = [
"--doctest-modules",
]
asyncio_mode = 'auto'
asyncio_default_fixture_loop_scope = "function"
norecursedirs = [
".git",
".nox",
".pytest_cache",
".venv",
"build",
"dist",
"scratch",
"node_modules",
"venv",
"*.bak",
"*.egg-info",
"*.egg",
".*",
"target",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"bench",
]
[tool.mypy]
strict = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_missing_imports = true
check_untyped_defs = true
[tool.pyright]
include = [ 'ry', 'tests' ]
reportUnnecessaryTypeIgnoreComment = true
[dependency-groups]
dev = [
"anyio>=4.8.0",
"hypothesis>=6.124.2",
"maturin>=1.8.1",
"mypy>=1.14.1",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.2",
"pytest-benchmark>=5.1.0",
"ruff>=0.9.2",
"tomli>=2.2.1",
"tzdata>=2025.1",
"uvicorn>=0.34.0",
]