-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
91 lines (79 loc) · 2.14 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
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
[project]
name = "satori-python"
description = "Satori Protocol SDK for python"
authors = [
{name = "RF-Tar-Railt",email = "rf_tar_railt@qq.com"},
]
dynamic = ["version"]
dependencies = [
"aiohttp>=3.9.3",
"loguru>=0.7.2",
"launart>=0.8.2",
"typing-extensions>=4.7.0",
"graia-amnesia>=0.9.0",
"starlette[python-multipart]>=0.37.2",
"uvicorn[standard]>=0.28.0",
"yarl>=1.9.4",
"python-multipart>=0.0.9",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Typing :: Typed",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
[project.urls]
homepage = "https://github.com/RF-Tar-Railt/satori-python"
repository = "https://github.com/RF-Tar-Railt/satori-python"
[build-system]
requires = ["mina-build<0.6,>=0.5.1", "pdm-backend<2.4.0"]
build-backend = "mina.backend"
[tool.pdm.dev-dependencies]
dev = [
"isort>=5.13.2",
"black>=24.4.0",
"ruff>=0.4.1",
"pre-commit>=3.7.0",
"fix-future-annotations>=0.5.0",
"mina-build<0.6,>=0.5.1",
"pdm-mina>=0.3.2",
]
[tool.pdm.build]
includes = ["src/satori"]
excludes = ["src/satori/adapters/*"]
[tool.pdm.scripts]
format = { composite = ["isort ./src/ ./example/","black ./src/ ./example/","ruff check ./src/ ./example/"] }
[tool.pdm.version]
source = "file"
path = "src/satori/__init__.py"
[tool.black]
line-length = 110
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 110
skip_gitignore = true
extra_standard_library = ["typing_extensions"]
[tool.ruff]
line-length = 110
target-version = "py39"
exclude = ["exam.py"]
[tool.ruff.lint]
select = ["E", "W", "F", "UP", "C", "T", "Q"]
ignore = ["E402", "F403", "F405", "C901", "UP037"]
[tool.pyright]
pythonPlatform = "All"
pythonVersion = "3.9"
typeCheckingMode = "basic"
reportShadowedImports = false
disableBytesTypePromotions = true