-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
84 lines (73 loc) · 1.78 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
[project]
name = "py-buzz"
version = "8.1.0"
description = "\"That's not flying, it's falling with style\": Exceptions with extras"
authors = [
{name = "Tucker Beck", email = "tucker.beck@gmail.com"}
]
readme = "README.md"
license-files = ["LICENSE.md"]
requires-python = ">=3.10"
dependencies = [
"typing-extensions>=4.0.0" # When support for Python 3.10 and 3.11 is drooped, this can be removed
]
[project.urls]
homepage = "https://dusktreader.github.io/py-buzz/"
source = "https://github.com/dusktreader/py-buzz"
changelog = "https://github.com/dusktreader/py-buzz/blob/main/CHANGELOG.md"
[project.optional-dependencies]
demo = [
"auto-name-enum>=3.0.0",
"rich>=14.3.1",
"snick>=3.0.0",
"typer>=0.21.1"
]
[project.scripts]
py-buzz-demo = "buzz_demo.main:main[cli]"
[tool.uv]
package = true
[tool.uv.build-backend]
module-name = ["buzz", "buzz_demo"]
module-root = "src"
[dependency-groups]
dev = [
"ty>=0.0.24",
"ipython>=8.38.0",
"mkdocs-material>=9.7.1",
"mkdocstrings-python>=2.0.1",
"mutmut>=3.4.0",
"pre-commit>=4.5.1",
"pyclean>=3.5.0",
"pygments>=2.19.2",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"pytest-random-order>=1.2.0",
"ruff>=0.14.14",
"typos>=1.42.2",
"yamllint>=1.38.0"
]
[tool.pytest.ini_options]
minversion = "7.4.0"
addopts = [
"--cov=src/buzz",
"--cov-report=term-missing",
"--cov-fail-under=90",
"--cov-report=xml:.coverage.xml",
"--junitxml=.junit.xml",
"--override-ini=junit_family=legacy",
"--random-order"
]
[tool.ruff]
line-length = 120
[tool.mutmut]
paths_to_mutate = ["src/buzz/"]
pytest_add_cli_args = ["--no-cov"]
pytest_add_cli_args_test_selection = ["tests/"]
[tool.typos.default]
extend-ignore-re = [
"\\}nd"
]
[build-system]
requires = ["uv_build>=0.9.27,<0.10.0"]
build-backend = "uv_build"