-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (37 loc) · 909 Bytes
/
pyproject.toml
File metadata and controls
44 lines (37 loc) · 909 Bytes
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
[build-system]
requires = ["maturin>=1.8,<2.0"]
build-backend = "maturin"
[project]
name = "dexrs"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
[dependency-groups]
dev = [
"maturin>=1.8,<2.0",
"pytest>=8",
"mypy>=1.10",
"ruff>=0.9",
]
[tool.maturin]
# allows us to use `cargo install --features python` directly
features = ["pyo3/extension-module", "dexrs/python"]
python-packages = ["dexrs"]
python-source = "python"
module-name = "dexrs._internal"
[tool.pytest.ini_options]
testpaths = ["python/tests"]
[tool.mypy]
python_version = "3.10"
strict = true
mypy_path = "python"
packages = ["dexrs"]
[tool.ruff]
src = ["python"]
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]