-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
135 lines (122 loc) · 3.08 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[project]
name = "bison-themes"
version = "0.1.0"
description = "Bison 官方主题仓库"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
dependencies = [
"nonebot-plugin-htmlrender>=0.2.2",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
[tool.mina.packages.arknights-theme]
includes = [
"themes/arknights-theme",
]
[tool.mina.packages.arknights-theme.project]
name = "nonebot-bison-theme-arknights"
description = "Bison 主题:明日方舟"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
"nonebot-plugin-htmlrender>=0.2.2"
]
entry-points = {pdm = {mina = "mina.plugin:ensure_pdm"}}
[tool.mina.packages.basic-theme]
includes = [
"themes/basic-theme",
]
[tool.mina.packages.basic-theme.project]
name = "nonebot-bison-theme-basic"
description = "Bison 主题:基础"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
version = "0.1.0"
requires-python = ">=3.10"
dependencies = []
entry-points = {pdm = {mina = "mina.plugin:ensure_pdm"}}
[tool.mina.packages.brief-theme]
includes = [
"themes/brief-theme",
]
[tool.mina.packages.brief-theme.project]
name = "nonebot-bison-theme-brief"
description = "Bison 主题:简报"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
version = "0.1.0"
requires-python = ">=3.10"
dependencies = []
entry-points = {pdm = {mina = "mina.plugin:ensure_pdm"}}
[tool.mina.packages.ceobecanteen-theme]
includes = [
"themes/ceobecanteen-theme",
]
[tool.mina.packages.ceobecanteen-theme.project]
name = "nonebot-bison-theme-ceobecateen"
description = "Bison 主题:小刻食堂"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
"nonebot-plugin-htmlrender>=0.2.2"
]
entry-points = {pdm = {mina = "mina.plugin:ensure_pdm"}}
[tool.mina.packages.ht2i-theme]
includes = [
"themes/ht2i-theme",
]
[tool.mina.packages.ht2i-theme.project]
name = "nonebot-bison-theme-ht2i"
description = "Bison 主题:Htmlrender文字转图片"
authors = [
{name = "AzideCupric", email = "rukuy@qq.com"},
]
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
"nonebot-plugin-htmlrender>=0.2.2"
]
entry-points = {pdm = {mina = "mina.plugin:ensure_pdm"}}
[tool.pdm.dev-dependencies]
dev = [
"pdm-mina>=0.3.1",
"nonebot2>=2.1.2",
"nonebot-bison @ git+https://github.com/MountainDash/nonebot-bison.git@feat/color-sharp",
]
lint = [
"ruff>=0.1.3",
"isort>=5.12.0",
]
[build-system]
requires = ["mina-build>=0.2.5"]
build-backend = "mina.backend"
[tool.ruff]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["E402", "C901", "PT023"]
line-length = 120
target-version = "py310"
[tool.black]
line-length = 120
preview = true
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
length_sort = true
force_sort_within_sections = true
src_paths = ["themes", "tests"]
extra_standard_library = ["typing_extensions"]