Skip to content

Commit 2935ce9

Browse files
committed
fix: add towncrier to build dependencies
1 parent 5865947 commit 2935ce9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ towncrier = "^24.8.0"
3737
sphinxcontrib-towncrier = "^0.5.0a0"
3838

3939

40-
4140
[tool.poetry.group.build.dependencies]
4241
twine = "^6.1.0"
42+
towncrier = "^24.8.0"
43+
4344

4445
[tool.poetry.scripts]
4546
example = "scripts.example:_main"
@@ -63,10 +64,12 @@ exclude = [
6364
"docs",
6465
]
6566

67+
6668
[tool.ruff]
6769
line-length = 100
6870
target-version = "py310"
6971

72+
7073
[tool.ruff.lint]
7174
select = [
7275
"ALL", # Include everything, including new rules.
@@ -141,16 +144,19 @@ ignore = [
141144
[tool.ruff.lint.pep8-naming]
142145
extend-ignore-names = ["metacls"]
143146

147+
144148
[tool.ruff.lint.pyupgrade]
145149
keep-runtime-typing = true
146150

151+
147152
[tool.taskipy.tasks]
148153
precommit = "pre-commit install --install-hooks"
149154
lint = "pre-commit run --all-files"
150155
ruff = "task lint ruff"
151156
slotscheck = "task lint slotscheck"
152157
docs = "sphinx-autobuild ./docs/source ./docs/build/html --watch ./src --watch ./changelog"
153158

159+
154160
# Towncrier config taken from disnake
155161
[tool.towncrier]
156162
template = "changelog/_template.rst.jinja"

0 commit comments

Comments
 (0)