generated from A-kirami/nonebot-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
115 lines (107 loc) · 3.18 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[project]
name = "nonebot-plugin-liarsbar"
version = "1.0.3"
description = "用于 Nonebot2 的 liar's bar 插件"
authors = [{ name = "SnowFox4004", email = "[email protected]" }]
dependencies = [
"nonebot2>=2.3.3",
"nonebot-plugin-alconna>=0.52.1",
"nonebot-plugin-uninfo>=0.4.0",
"anyio>=4.6.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "AGPL" }
[project.urls]
homepage = "https://github.com/SnowFox4004/nonebot-plugin-liarsbar"
repository = "https://github.com/SnowFox4004/nonebot-plugin-liarsbar"
bug-tracker = "https://github.com/SnowFox4004/nonebot-plugin-liarsbar"
# [tool.uv]
# dev-dependencies = [
# "nonebot2[fastapi]>=2.4.0",
# "nonebot-adapter-onebot>=2.4.4",
# "fastapi>=0.114.0",
# "httpx>=0.27.2",
# "websockets>=13.1",
# ]
[tool.black]
line-length = 88
target-version = ["py310"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 88
# [tool.ruff]
# line-length = 88
# target-version = "py310"
# [tool.ruff.lint]
# select = [
# "F", # Pyflakes
# "W", # pycodestyle warnings
# "E", # pycodestyle errors
# "UP", # pyupgrade
# "RUF", # Ruff-specific rules
# "ERA", # eradicate
# "FLY", # flynt
# "FURB", # refurb
# "I", # isort
# "N", # PEP8-naming
# "PD", # pandas-vet
# "PERF", # Perflint
# "PGH", # pygrep-hooks
# "TRY", # tryceratops
# "ASYNC", # flake8-async
# "ANN", # flake8-annotations
# "S", # flake8-bandit
# "FBT", # flake8-boolean-trap
# "A", # flake8-builtins
# "B", # flake8-bugbear
# "COM", # flake8-commas
# "C4", # flake8-comprehensions
# "DTZ", # flake8-datetimez
# "T10", # flake8-debugger
# "EM", # flake8-errmsg
# "FA", # flake8-future-annotations
# "ISC", # flake8-implicit-str-concat
# "ICN", # flake8-import-conventions
# "PIE", # flake8-pie
# "T20", # flake8-print
# "PYI", # flake8-pyi
# "PT", # flake8-pytest-style
# "Q", # flake8-quotes
# "RSE", # flake8-raise
# "RET", # flake8-return
# "SLF", # flake8-self
# "SIM", # flake8-simplify
# "SLOT", # flake8-slots
# "TID", # flake8-tidy-imports
# "ARG", # flake8-unused-arguments
# "PTH", # flake8-use-pathlib
# "TCH", # flake8-type-checking
# "YTT", # flake8-2020
# ]
# ignore = [
# "E402", # module-import-not-at-top-of-file
# "RUF001", # ambiguous-unicode-character-string
# "RUF002", # ambiguous-unicode-character-docstring
# "RUF003", # ambiguous-unicode-character-comment
# "ANN101", # missing-type-self
# "ANN102", # missing-type-cls
# "TRY003", # raise-vanilla-args
# "EM102", # f-string-in-exception
# "COM812", # missing-trailing-comma
# "ERA001", # commented-out-code
# "EM101", # raw-string-in-exception
# "TID252", # relative-imports
# "ISC001", # single-line-implicit-string-concatenation
# ]
# [tool.pyright]
# pythonVersion = "3.10"
# pythonPlatform = "All"
# typeCheckingMode = "standard"
# reportShadowedImports = false
# disableBytesTypePromotions = true
[tool.nonebot]
plugins = ["nonebot_plugin_alconna"]