-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (52 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (52 loc) · 1.32 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
[project]
name = "python-response-time"
version = "1.6.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"black>=26.3.1",
"coverage>=7.13.5",
"loguru>=0.7.3",
"prometheus-client>=0.24.1",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.1",
"pytest>=9.0.2",
"requests>=2.32.5",
"rich>=14.3.3",
"ruff>=0.15.7",
"typer>=0.24.1",
]
[project.optional-dependencies]
build = ["uv == 0.10.12"]
[build-system]
requires = ["uv_build == 0.10.12"]
build-backend = "uv_build"
[project.scripts]
python-response-time = "python_response_time.main:main"
checks = "python_response_time.pre_flight:run_checks"
[tool.semantic_release]
allow_version_zero = true
major_on_zero = false
build_command = """
python -m pip install -e '.[build]'
uv lock --upgrade-package "$PACKAGE_NAME"
git add uv.lock
uv build
"""
version_toml = ["pyproject.toml:project.version"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
omit = ["tests/*"]
[tool.black]
target-version = ["py313"]
[tool.ruff]
line-length = 88
exclude = ["__pycache__", "build", "dist", ".venv"]
[tool.ruff.lint]
select = ["E", "F", "W", "C", "B", "I", "N", "D", "UP", "T", "A"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F401"]
[tool.ruff.format]
quote-style = "double"