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']