python-black/0001-add-annotation.patch

46 lines
1.2 KiB
Diff

From 48b4765d34428ae22f6a285d5d58a4730826a1bf Mon Sep 17 00:00:00 2001
From: li-miaomiao_zhr <mmlidc@isoftstone.com>
Date: Fri, 16 Jun 2023 15:17:13 +0800
Subject: [PATCH] add annotation
---
pyproject.toml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 435626a..8e76868 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,7 +26,8 @@ preview = true
# NOTE: You don't need this in your own Black configuration.
[build-system]
-requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
+#requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
+requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
@@ -93,12 +94,12 @@ blackd = "blackd:patched_main [d]"
Changelog = "https://github.com/psf/black/blob/main/CHANGES.md"
Homepage = "https://github.com/psf/black"
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
-content-type = "text/markdown"
-fragments = [
- { path = "README.md" },
- { path = "CHANGES.md" },
-]
+#[tool.hatch.metadata.hooks.fancy-pypi-readme]
+#content-type = "text/markdown"
+#fragments = [
+# { path = "README.md" },
+# { path = "CHANGES.md" },
+#]
[tool.hatch.version]
source = "vcs"
--
2.39.1