feat: 删除 nonebot 配置,同时关闭了过长line的检查
This commit is contained in:
@@ -3,10 +3,6 @@ name = "MaiMaiBot"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "MaiMaiBot"
|
description = "MaiMaiBot"
|
||||||
|
|
||||||
[tool.nonebot]
|
|
||||||
plugins = ["src.plugins.chat"]
|
|
||||||
plugin_dirs = ["src/plugins"]
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
|
||||||
include = ["*.py"]
|
include = ["*.py"]
|
||||||
@@ -28,7 +24,7 @@ select = [
|
|||||||
"B", # flake8-bugbear
|
"B", # flake8-bugbear
|
||||||
]
|
]
|
||||||
|
|
||||||
ignore = ["E711"]
|
ignore = ["E711","E501"]
|
||||||
|
|
||||||
[tool.ruff.format]
|
[tool.ruff.format]
|
||||||
docstring-code-format = true
|
docstring-code-format = true
|
||||||
|
|||||||
Reference in New Issue
Block a user