-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.31 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
[project]
name = "gh-space-shooter"
version = "2.0.0"
description = "A CLI tool that visualizes GitHub contribution graphs as gamified GIFs"
readme = "README.md"
authors = [
{ name = "zane", email = "czl970721@gmail.com" }
]
requires-python = ">=3.12"
dependencies = [
"typer>=0.12.0",
"httpx>=0.27.0",
"python-dotenv>=1.0.0",
"rich>=13.0.0",
"pillow>=10.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
]
[project.scripts]
gh-space-shooter = "gh_space_shooter.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.bumpversion]
current_version = "2.0.0"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
"""
serialize = [
"{major}.{minor}.{patch}",
]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[tool.uv.workspace]
members = ["app"]
[tool.uv.sources]
gh-space-shooter = { workspace = true }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]