-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (84 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
101 lines (84 loc) · 2.19 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>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "weilink"
dynamic = ["version"]
authors = [{ name = "Oaklight", email = "oaklight@gmx.com" }]
description = "Lightweight Python SDK for WeChat iLink Bot protocol"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications :: Chat",
]
dependencies = []
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"ty>=0.0.24",
"build>=1.2.2.post1",
"twine>=6.1.0",
]
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"coverage>=7.0.0",
]
mcp = [
"toolregistry-server[mcp]>=0.1.2,<0.2.0",
]
openapi = [
"toolregistry-server[openapi]>=0.1.2,<0.2.0",
]
server = [
"weilink[mcp]",
"weilink[openapi]",
]
[project.scripts]
weilink = "weilink.cli:main"
[project.urls]
Documentation = "https://weilink.readthedocs.io"
Repository = "https://github.com/Oaklight/weilink"
Issues = "https://github.com/Oaklight/weilink/issues"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "UP"]
ignore = ["UP007", "E501"]
[tool.ruff.lint.per-file-ignores]
"src/weilink/_vendor/*.py" = ["E501"]
[tool.ty.environment]
python-version = "3.10"
[tool.ty.src]
include = ["src", "tests"]
[tool.ty.rules]
unresolved-import = "ignore"
[[tool.ty.overrides]]
include = ["src/weilink/_vendor/*.py"]
[tool.ty.overrides.rules]
invalid-argument-type = "ignore"
invalid-return-type = "ignore"
[[tool.ty.overrides]]
include = ["tests/"]
[tool.ty.overrides.rules]
invalid-assignment = "ignore"
[tool.setuptools.dynamic]
version = { attr = "weilink.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"weilink" = [
"py.typed",
"integrations/**/*",
"integrations/**/.mcp.json",
"integrations/**/.claude-plugin/*.json",
]
"weilink.admin" = ["*.html", "locales/*.json"]