-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
102 lines (87 loc) · 2.46 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
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["setuptools>=67.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "releaseherald"
dynamic = ["version", "readme"]
description = "Git tag based release note generator"
license = {file = "LICENSE"}
authors = [
{ name = "Morgan Stanley", email = "[email protected]" }
]
keywords = ["releasenotes", "release", "whatsnew", "git"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Version Control :: Git",
]
requires-python = ">=3.7"
dependencies = [
"boltons",
"click",
"GitPython",
"Jinja2",
"parse",
"toml",
"typing_extensions",
"pydantic<2.0",
"pluggy"
]
[project.urls]
Homepage = "https://github.com/morganstanley/releaseherald"
Repository = "https://github.com/morganstanley/releaseherald.git"
[project.scripts]
releaseherald = "releaseherald.main:main"
[tool.setuptools.package-data]
"releaseherald.templates" = ["*.rst"]
[tool.setuptools.dynamic]
version = { attr = "releaseherald.version.VERSION" }
readme = { file = "README.md", content-type = "text/markdown"}
[project.optional-dependencies]
dev = [
"black >= 23.3,< 25.0",
"mypy",
"types-toml",
"ruff",
"pytest",
"doit"
]
docs = [
"mkdocs",
"mkdocs-click",
"mkdocs-mermaid2-plugin",
"mkdocs-awesome-pages-plugin",
"mkdocstrings[python]",
]
[tool.ruff]
ignore = ["E501"]
[tool.ruff.pycodestyle]
max-doc-length = 120
[tool.ruff.pydocstyle]
convention = "google"
[tool.bumpver]
current_version = "0.1.0"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
]
"src/releaseherald/version.py" = [
'VERSION = "{version}"'
]
[tool.releaseherald]
news_fragments_directory = "release_notes/news_fragments"
news_file = "release_notes/release_notes.template.md"
template = "release_notes/release_notes_version.template.md"
insert_marker = '^(\s)*\[\/\/]: # "releaseherald_insert"(\s)*$'