From 638fe509b8e2b75204fbd32957a9a92ac5daf786 Mon Sep 17 00:00:00 2001
From: Karako <70872201+karakoo@users.noreply.github.com>
Date: Sat, 8 Oct 2022 23:03:11 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E6=B7=BB=E5=8A=A0=E6=A0=BC?=
=?UTF-8?q?=E5=BC=8F=E5=8C=96=E5=B7=A5=E5=85=B7=20`black`=20=E7=9A=84?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 1 +
pyproject.toml | 13 ++++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 6159be4..9a1ce49 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@
+
diff --git a/pyproject.toml b/pyproject.toml
index d733fcd..ee518d2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,6 +41,11 @@ pyro = ["Pyrogram", "TgCrypto"]
test = ["pytest", "pytest-asyncio", "flaky"]
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto"]
+[build-system]
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
+
+# pytest配置
[tool.pytest.ini_options]
asyncio_mode = "auto"
log_cli = true
@@ -48,6 +53,8 @@ log_cli_level = "INFO"
log_cli_format = "%(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
-[build-system]
-requires = ["poetry-core"]
-build-backend = "poetry.core.masonry.api"
+# 格式配置
+[tool.black]
+include = '\.pyi?$'
+line-length = 120
+target-version = ['py38', 'py39', 'py310']