-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (56 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
64 lines (56 loc) · 1.51 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "speed-bump"
version = "0.1.0"
description = "Selective Python slowdown profiler for throughput analysis"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.12"
authors = [
{name = "Alex Turner"}
]
keywords = ["profiling", "performance", "throughput", "benchmarking", "ai", "ml"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: C",
"Topic :: Software Development :: Testing",
"Topic :: System :: Benchmark",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-timeout>=2.0",
]
dev = [
"speed-bump[test]",
"build",
"twine",
"ruff",
]
[project.urls]
Homepage = "https://github.com/alexturner/speed-bump"
Repository = "https://github.com/alexturner/speed-bump"
Issues = "https://github.com/alexturner/speed-bump/issues"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
timeout = 30
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4", "PIE", "RUF"]
ignore = ["E501"]