chore: 配置 pre-commit 钩子(ruff + mypy + 通用检查)
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user