-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (88 loc) · 2.3 KB
/
pyproject.toml
File metadata and controls
101 lines (88 loc) · 2.3 KB
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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mofox-plugin-dev-toolkit"
version = "0.4.10"
description = "开发工具集,用于快速创建、开发和测试 MoFox-Bot 插件"
authors = [
{name = "MoFox-Studio", email = "wwwww95915@qq.com"}
]
readme = "README.md"
requires-python = ">=3.11"
license = {text = "GPL-3.0-or-later"}
keywords = ["mofox", "plugin", "toolkit", "cli", "development"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.7",
"rich>=13.7.0",
"questionary>=2.0.1",
"jinja2>=3.1.2",
"toml>=0.10.2",
"tomli>=2.0.1",
"tomli-w>=1.0.0",
"pydantic>=2.5.0",
"watchdog>=3.0.0",
"websockets>=12.0",
"libcst>=1.8.6",
"aiohttp>=3.9.0",
"uvicorn>=0.24.0",
"fastapi>=0.104.0",
"ruff>=0.1.6",
"mypy>=1.7.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.3",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.1",
"pytest-mock>=3.12.0",
"mypy>=1.7.0",
"ruff>=0.1.6",
]
check = [
"mypy>=1.7.0",
"ruff>=0.1.6",
"bandit>=1.7.5",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.4.0",
]
[project.scripts]
mpdt = "mpdt.cli:cli"
[project.urls]
Homepage = "https://github.com/MoFox-Studio/mofox-plugin-toolkit"
Documentation = "https://docs.mofox.studio/mpdt"
Repository = "https://github.com/MoFox-Studio/mofox-plugin-toolkit"
"Bug Tracker" = "https://github.com/MoFox-Studio/mofox-plugin-toolkit/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["mpdt*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
mpdt = ["templates/**/*", "templates/**/**/*"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"