From 8063e24f9980886c07676059c6fa6df52a617f35 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Sun, 8 Mar 2026 18:18:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=AE=80=E5=8C=96=20pyproject.toml=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 dev 分组中的 black、isort、mypy 依赖 - 移除 [project.scripts] 命令行入口配置 - 移除 [build-system] 构建系统配置 - 移除所有工具配置(black、isort、mypy、pytest) --- pyproject.toml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 45a571d..c87a7ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,32 +63,4 @@ full = [ dev = [ "pytest>=8.0.0", "pytest-cov>=4.1.0", - "black>=24.0.0", - "isort>=5.13.0", - "mypy>=1.8.0", ] - -[project.scripts] -lyxy-document-reader = "scripts.lyxy_document_reader:main" - -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - -[tool.black] -line-length = 100 -target-version = ["py311"] - -[tool.isort] -profile = "black" -line-length = 100 - -[tool.mypy] -python_version = "3.11" -warn_return_any = true -warn_unused_configs = true -disallow_untyped_defs = true - -[tool.pytest.ini_options] -testpaths = ["tests"] -pythonpath = ["scripts", "."]