-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
81 lines (75 loc) · 2.18 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
[project]
name = "asv_runner"
description = "Core Python benchmark code for ASV"
authors = [
{ name = "Rohit Goswami", email = "[email protected]" },
{ name = "Michael Droettboom", email = "[email protected]" },
]
maintainers = [
{ name = "Rohit Goswami", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: System :: Benchmark",
]
dependencies = [
"importlib-metadata", # This is OK, it was vendored from 3.8
] # Make sure there's nothing (or almost nothing) here
requires-python = ">=3.7"
readme = "README.md"
license = {text = "BSD-3-Clause"}
dynamic = ["version"]
[project.optional-dependencies]
docs = [
"furo",
"sphinx",
"sphinx-contributors",
"sphinx-copybutton",
"sphinx-design",
"sphinx-autobuild",
"sphinxcontrib-spelling",
"myst-parser>=2", # Needs py38
"sphinx-autodoc2>=0.4.2", # Needs py38
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.ruff]
line-length = 88
extend-ignore = [
"E741", # Do not use variables named "I", "O", or "l"
]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I001", # isort
]
[tool.pdm]
[tool.pdm.dev-dependencies]
base = [
"towncrier>=23.6.0",
"tbump>=6.11.0",
"ruff>=0.2.1",
]
[tool.pdm.scripts]
lint = {composite = ["ruff --fix --unsafe-fixes asv_runner/", "ruff format asv_runner/"]}
mkdoc = {composite = ["sphinx-build -b html docs/source docs/build/html"]}
[tool.pdm.version]
source = "scm"
write_to = "asv_runner/__init__.py"
write_template = "__version__ = '{}'"
[project.urls]
homepage = "https://asv.readthedocs.io/projects/asv-runner/en/latest/"
repository = "https://github.com/airspeed-velocity/asv_runner"
documentation = "https://asv.readthedocs.io/projects/asv-runner/en/latest/"