39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -1,5 +1,5 @@
|
|
[build-system]
|
|
-requires = ["hatchling", "hatch-fancy-pypi-readme"]
|
|
+requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -71,26 +71,6 @@
|
|
"/README.md",
|
|
]
|
|
|
|
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
|
-content-type = "text/markdown"
|
|
-
|
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
|
-path = "README.md"
|
|
-
|
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
|
-text = "\n## Release Information\n\n"
|
|
-
|
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
|
-path = "CHANGELOG.md"
|
|
-pattern = "\n(###.+?\n)## "
|
|
-
|
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
|
-text = "\n---\n\n[Full changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)\n"
|
|
-
|
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
|
|
-pattern = 'src="(docs/img/.*?)"'
|
|
-replacement = 'src="https://raw.githubusercontent.com/encode/httpx/master/\1"'
|
|
-
|
|
# https://beta.ruff.rs/docs/configuration/#using-rufftoml
|
|
[tool.ruff]
|
|
select = ["E", "F", "I", "B", "PIE"]
|