-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.45 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 = ["uv_build>=0.9.21,<0.10.0"]
build-backend = "uv_build"
[project]
name = "wslshot"
version = "0.1.1"
description = "Copy Windows screenshots into WSL for easy reuse."
readme = "README.md"
license = "Apache-2.0"
authors = [{ name = "Sébastien De Revière" }]
requires-python = ">=3.10"
dependencies = [
"click>=8.3.0",
"click-default-group>=1.2.4",
"Pillow>=12.1.1",
]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"scriv[toml]>=1.5.0",
# urllib3 is a transitive dependency of scriv (via requests).
# Pinned to fix CVE-2026-21441 (decompression bomb in streaming API).
"urllib3>=2.6.3",
]
[project.urls]
Documentation = "https://github.com/sderev/wslshot"
Issues = "https://github.com/sderev/wslshot/issues"
Changelog = "https://github.com/sderev/wslshot/blob/main/CHANGELOG.md"
[project.scripts]
wslshot = "wslshot.cli:wslshot"
[tool.uv.build-backend]
module-root = ""
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = ["I001"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.scriv]
version = "literal: pyproject.toml: project.version"
format = "md"
md_header_level = 2
output_file = "CHANGELOG.md"
fragment_directory = "changelog.d"
new_fragment_template = "file: changelog.d/templates/fragment.md.j2"
categories = [
"Added",
"Changed",
"Deprecated",
"Removed",
"Fixed",
"Security",
]
entry_title_template = "{{ version }} - {{ date.strftime('%Y-%m-%d') }}"