Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.43 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (57 loc) · 1.43 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "bench_runner"
authors = [
{name = "Michael Droettboom", email = "mdroettboom@microsoft.com"},
]
description = "Faster CPython's benchmarking runner utilities"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "BSD-3-Clause"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"matplotlib==3.11.2",
"pyperf==2.10.0",
"rich==15.0.0",
"rich-argparse==1.8.0",
"ruamel.yaml==0.19.1",
"scour==0.38.2",
"wheel",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"filelock==4.2.9",
"pyright==1.1.414",
"pytest==9.2.0",
"pytest-cov==7.1.0",
"pytest-xdist==3.8.0",
]
[tool.setuptools_scm]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
bench_runner = ["templates/*"]
[tool.ruff]
target-version = "py311"
line-length = 88
fix = true
[tool.ruff.lint]
extend-select = ["W605"]
extend-ignore = ["E203", "E402"]
[tool.pytest.ini_options]
markers = [
"long_running: marks tests as long_running (deselect with '-m \"not running\"')",
]
[tool.coverage.run]
patch = ["subprocess"]
[tool.coverage.paths]
source = [
"bench_runner",
"/tmp/pytest-of-*/pytest-*/*/repo/outer_venv/lib/python*/site-packages/bench_runner",
"/tmp/pytest-of-*/pytest-*/*/repo/venv/lib/python*/site-packages/bench_runner",
]