mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修复nonebot无法加载项目的问题
parent
00e02edc73
commit
eede406e55
|
|
@ -1,9 +1,20 @@
|
||||||
|
[project]
|
||||||
|
name = "MaiMaiBot"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "MaiMaiBot"
|
||||||
|
|
||||||
|
[tool.nonebot]
|
||||||
|
plugins = ["src.plugins.chat"]
|
||||||
|
plugin_dirs = ["src/plugins"]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
|
||||||
include = ["*.py"]
|
include = ["*.py"]
|
||||||
|
|
||||||
# 行长度设置
|
# 行长度设置
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|
||||||
[lint]
|
[tool.ruff.lint]
|
||||||
fixable = ["ALL"]
|
fixable = ["ALL"]
|
||||||
unfixable = []
|
unfixable = []
|
||||||
|
|
||||||
|
|
@ -19,7 +30,7 @@ select = [
|
||||||
|
|
||||||
ignore = ["E711"]
|
ignore = ["E711"]
|
||||||
|
|
||||||
[format]
|
[tool.ruff.format]
|
||||||
docstring-code-format = true
|
docstring-code-format = true
|
||||||
indent-style = "space"
|
indent-style = "space"
|
||||||
|
|
||||||
Loading…
Reference in New Issue