-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (117 loc) · 2.84 KB
/
Copy pathpyproject.toml
File metadata and controls
129 lines (117 loc) · 2.84 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
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
[project]
name = "arclet-entari"
dynamic = ["version"]
description = "Simple IM Framework based on satori-python"
authors = [
{name = "RF-Tar-Railt",email = "rf_tar_railt@qq.com"},
]
dependencies = [
"arclet-letoderea<0.22.0,>=0.21.3",
"arclet-alconna<2.0.0,>=1.8.44",
"satori-python-core<1.4.0,>=1.3.5",
"satori-python-client<1.4.0,>=1.3.2",
"arclet-alconna-tools>=0.7.3",
"nonestorage>=0.1.0",
"simpleeval>=1.0.3",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Communications :: Chat",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Framework :: AsyncIO",
"Operating System :: OS Independent",
]
[project.urls]
homepage = "https://arclet.top"
repository = "https://github.com/ArcletProject/Entari"
[project.optional-dependencies]
yaml = [
"ruamel-yaml>=0.18.10",
]
cron = [
"croniter>=5.0.1",
]
reload = [
"watchfiles>=1.0.3",
]
dotenv = [
"python-dotenv>=1.0.1",
]
full = [
"croniter>=5.0.1",
"watchfiles>=1.0.3",
"python-dotenv>=1.0.1",
"ruamel-yaml>=0.18.10",
"entari-cli>=0.1.0",
]
pydantic = [
"pydantic>=2.10.6",
]
msgspec = [
"msgspec>=0.19.0",
]
toml = [
"tomlkit>=0.13.3",
]
cli = [
"entari-cli>=0.1.0",
]
rich = [
"rich>=14.1.0",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
[tool.pdm.build]
includes = ["arclet"]
[tool.pdm.version]
source = "file"
path = "arclet/entari/__init__.py"
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313", "py314"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.ruff]
line-length = 120
target-version = "py310"
include = ["arclet/**.py"]
respect-gitignore = true
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q"]
ignore = ["C901", "T201", "E731", "E402", "PYI055"]
[tool.ruff.lint.isort]
force-sort-within-sections = false
extra-standard-library = ["typing_extensions"]
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "basic"
[tool.pdm.scripts]
test = "pytest -v -n auto -W ignore ./tests/"
format = { composite = ["ruff check --select I --fix ./arclet/","black ./arclet/","ruff check ./arclet/"] }
[dependency-groups]
dev = [
"black>=26.3.1",
"ruff>=0.15.10",
"watchfiles>=0.24.0",
"python-dotenv>=1.0.1",
"ruamel-yaml>=0.18.10",
"msgspec>=0.21.0",
"pydantic>=2.12.5",
"tomlkit>=0.13.3",
"richuru>=0.1.1",
]