chore: 配置 pre-commit 钩子(ruff + mypy + 通用检查)

This commit is contained in:
2026-07-11 20:08:21 +08:00
parent 4710a305be
commit 7e0b9553c8
2 changed files with 36 additions and 0 deletions
+5
View File
@@ -41,6 +41,11 @@ index-strategy = "unsafe-best-match"
line-length = 100
target-version = "py313"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]