-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (75 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
88 lines (75 loc) · 1.94 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
85
86
87
88
[project]
name = "countdown-cli"
version = "2.2.1"
description = "Terminal program to display countdown timer"
readme = "README.rst"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Trey Hunner" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dependencies = [
"click>=8.3.0",
]
[project.urls]
homepage = "https://github.com/treyhunner/countdown-cli"
repository = "https://github.com/treyhunner/countdown-cli"
Changelog = "https://github.com/treyhunner/countdown-cli/releases"
[project.scripts]
countdown = "countdown.__main__:main"
[dependency-groups]
dev = [
"pytest>=8.2.0",
"pytest-cov>=5.0.0",
"coverage[toml]>=7.5.1",
"ruff>=0.4.0",
]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["countdown", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 100
[build-system]
requires = ["uv_build>=0.10.9,<0.11"]
build-backend = "uv_build"
[tool.uv]
required-version = ">=0.9.6"
[tool.uv.build-backend]
module-name = "countdown"
[tool.ruff]
target-version = "py310"
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"S", # flake8-bandit
"D", # pydocstyle
]
ignore = [
"E501", # line too long (handled by formatter)
"D107", # missing docstring in __init__
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "D102", "D103"]
[tool.ruff.lint.pydocstyle]
convention = "google"