-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (67 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
74 lines (67 loc) · 1.52 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
[project]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
name = "graia-amnesia"
version = "0.11.5"
authors = [
{name = "GreyElaina", email = "GreyElaina@outlook.com"},
{name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com"}
]
requires-python = ">=3.10,<4.0"
license = {text = "MIT"}
dependencies = [
"launart>=0.7.0,<1.0.0",
"typing-extensions>=4.0.0",
]
readme = "README.md"
description = "a collection of shared components for graia"
[project.optional-dependencies]
httpx = [
"httpx>=0.26.0",
]
aiohttp = [
"aiohttp>=3.9.1",
]
sqla = [
"sqlalchemy>=2.0.25",
]
hypercorn = [
"hypercorn>=0.17.3",
]
uvicorn = [
"uvicorn>=0.35.0",
"uvloop>=0.18.0; sys_platform != \"win32\"",
"websockets>=15.0.1",
"winloop>=0.3.0; sys_platform == \"win32\"",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
force_sort_within_sections = false
extra_standard_library = ["typing_extensions"]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313"]
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.pdm.build]
includes = ["src/graia"]
[tool.pdm.scripts]
test = "pytest -v ./tests/"
format = { composite = ["isort ./src/ ./tests/","black ./src/ ./tests/"] }
[dependency-groups]
dev = [
"black>=25.0.0",
"uvicorn>=0.37.0",
"aiohttp>=3.9.1",
"httpx>=0.26.0",
"sqlalchemy>=2.0.25",
"isort==5.13.2",
"pytest>=7.4.4",
"hypercorn>=0.17.3",
]