-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 953 Bytes
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 953 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
[project]
name = "fast-ordset"
version = "0.4.1"
description = "Ordered set for Python implemented in Rust"
requires-python = ">=3.9,<3.15"
license = "MIT"
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project.optional-dependencies]
dev = [
"maturin>=1.12.6",
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-benchmark[histogram]>=4.0",
"ordered-set>=4.1.0",
"psutil>=5.9.0",
"mypy>=1.0",
]
[tool.pytest.ini_options]
# Unit tests only; run benchmarks explicitly: pytest benchmarks/ --benchmark-only
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["pysrc"]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "def __repr__", "def __str__"]
[tool.maturin]
module-name = "fast_ordset"
python-source = "pysrc"
include = [
{ format = "sdist", path = ".cargo/*" },
{ format = "sdist", path = "Cargo.lock" },
]