-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (89 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
102 lines (89 loc) · 2.34 KB
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
[project]
name = "alternative"
dynamic = ["version"]
description = "A library to help with the management of alternative implementations of functions"
readme = "README.md"
authors = [
{ name = "Oliver Bristow", email = "evilumbrella+github@gmail.com" }
]
requires-python = ">=3.10"
license = "MIT"
dependencies = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
[project.urls]
Documentation = "https://alternative.readthedocs.io/"
Repository = "https://github.com/Code0x58/alternative"
Issues = "https://github.com/Code0x58/alternative/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.3.5",
"pytest-benchmark>=5.1.0",
"pytest-cov>=6.1.1",
"sybil>=9.3.0,<10",
]
[tool.uv]
dev-dependencies = [
"alternative[dev]",
"build>=1.2.2",
"hatch-vcs>=0.5.0",
"hatchling>=1.27.0",
"mypy>=2.0.0",
"pyright>=1.1.407",
"pyrefly>=0.64.1",
"ruff>=0.15.12",
"typing-extensions>=4.15.0",
]
[dependency-groups]
docs = [
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
]
[tool.uv.sources]
alternative = { workspace = true }
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
include = [
"/alternative.py",
"/alternative.pyi",
"/conftest.py",
"/docs",
"/LICENSE",
"/pyproject.toml",
"/README.md",
"/scripts",
"/test_*.py",
"/typing_tests",
"/uv.lock",
]
[tool.hatch.build.targets.wheel]
only-include = [
"alternative.py",
"alternative.pyi",
]
[tool.pytest.ini_options]
# keep benchmark-backed tests bounded when present
addopts = "--cov=alternative --cov-report=html --benchmark-max-time=0.01"
[tool.mypy]
python_version = "3.10"
[[tool.mypy.overrides]]
module = ["pytest"]
ignore_missing_imports = true