-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
62 lines (54 loc) · 1.27 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
[tool.poetry]
name = "nonebot-plugin-blockwords"
version = "0.2.1"
description = "nonebot聊天屏蔽词插件"
authors = ["MelodyKnit <[email protected]>"]
license = "MIT"
keywords = [
"bot",
"nonebot2",
"nonebot-plugin",
"blockwords",
]
readme = "README.md"
packages = [{ include = "nonebot_plugin_blockwords" }]
[tool.poetry.dependencies]
python = "^3.8"
nonebot2 = "^2.1.1"
jieba = "^0.42.1"
[tool.poetry.group.dev.dependencies]
isort = "^5.10.1"
black = "^23.1.0"
prettier = "^0.0.7"
pre-commit = "^3.0.0"
[tool.poetry.group.test.dependencies]
nonebug = "^0.3.5"
pytest-asyncio = "^0.21.1"
nonebot-adapter-console = "^0.4.0"
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "default"
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 88
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
src_paths = ["nonebot_plugin_blockwords"]
extra_standard_library = ["typing_extensions"]
[tool.pyright]
pythonVersion = "3.8"
pythonPlatform = "All"
executionEnvironments = [
{ root = "./" },
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"