-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (80 loc) · 2.28 KB
/
pyproject.toml
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
89
[tool.poetry]
name = "qr-code-generator"
version = "1.0.6"
description = "A robust and scalable QR Code Generator application built with FastAPI"
authors = ["Your Name <[email protected]>"]
readme = "README.md"
packages = [{include = "app"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
fastapi = "^0.109.0"
uvicorn = "^0.27.0"
qrcode = "^7.4.2"
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
python-multipart = "^0.0.6"
structlog = "^24.1.0"
prometheus-client = "^0.19.0"
pydantic = "^2.6.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^24.1.0"
coverage = "^7.4.0"
python-semantic-release = "^9.15.0"
httpx = "^0.26.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# New-style config for python-semantic-release 9.x
[tool.python_semantic_release]
version_variable = ["app/__init__.py:__version__"]
version_toml = ["pyproject.toml:tool.poetry.version"]
version_source = "tag"
commit_version_number = true
upload_to_repository = false
build_command = "poetry build"
changelog_file = "CHANGELOG.md"
commit_parser = "conventional_commits"
major_on_zero = false
tag_format = "v{version}"
tag_type = "annotated"
allow_zero_version = true
commit_author = "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
commit_message = "chore(release): {version} [skip ci]"
[tool.python_semantic_release.remote]
token = "env:GH_TOKEN"
[tool.python_semantic_release.branches.main]
match = ["main", "master"]
prerelease = false
prerelease_token = ""
[tool.python_semantic_release.branches.develop]
match = ["develop", "dev"]
prerelease = true
prerelease_token = "beta"
[tool.python_semantic_release.branches.release]
match = ["release/*", "releases/*"]
prerelease = true
prerelease_token = "rc"
[tool.python_semantic_release.changelog]
sections = [
"feature",
"fix",
"breaking",
"documentation",
"performance",
"refactor"
]
components = [
"semantic_release.changelog.changelog_headers",
"semantic_release.changelog.compare_url",
"semantic_release.changelog.commit_list"
]
include_prereleases = true
exclude_commit_patterns = [
"^chore\\(release\\):",
"^docs\\(changelog\\):",
"\\[skip ci\\]",
"\\[ci skip\\]",
"\\[no changelog\\]"
]
render_title = true
render_commit_links = true