We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249044c commit 86af08cCopy full SHA for 86af08c
1 file changed
pyproject.toml
@@ -1,7 +1,7 @@
1
# SPDX-License-Identifier: MIT
2
3
[build-system]
4
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
+requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme>=23.2.0"]
5
build-backend = "hatchling.build"
6
7
@@ -112,6 +112,11 @@ text = """
112
[Full changelog](https://www.attrs.org/en/stable/changelog.html)
113
"""
114
115
+# Point sponsor image URLs to versions.
116
+[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
117
+pattern = '\/latest\/_static/sponsors'
118
+replacement = '/$HFPR_VERSION/_static/sponsors'
119
+
120
121
[tool.pytest.ini_options]
122
addopts = ["-ra", "--strict-markers", "--strict-config"]
0 commit comments