generated from yanyongyu/python-poetry-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (74 loc) · 2 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
[project]
name = "nonebot-plugin-orm"
version = "0.7.7"
description = "SQLAlchemy ORM support for nonebot"
authors = [
{ name = "yanyongyu", email = "[email protected]" },
{ name = "ProgramRipper", email = "[email protected]" },
]
dependencies = [
"alembic~=1.13,<1.15",
"click~=8.1",
"importlib-metadata~=7.0; python_version < \"3.10\"",
"importlib-resources~=6.1; python_version < \"3.12\"",
"nonebot-plugin-localstore~=0.6",
"nonebot2~=2.2",
"sqlalchemy~=2.0",
"typing-extensions~=4.9; python_version < \"3.11\"",
]
requires-python = ">=3.8,<4.0"
readme = "README.md"
license = { text = "MIT" }
keywords = ["nonebot", "orm", "sqlalchemy"]
[project.urls]
homepage = "https://github.com/nonebot/plugin-orm"
repository = "https://github.com/nonebot/plugin-orm"
documentation = "https://github.com/nonebot/plugin-orm"
[project.optional-dependencies]
default = ["sqlalchemy[aiosqlite]"]
mysql = ["sqlalchemy[aiomysql]"]
asyncmy = ["sqlalchemy[asyncmy]"]
aiomysql = ["sqlalchemy[aiomysql]"]
postgresql = ["sqlalchemy[postgresql-psycopgbinary]"]
psycopg = ["sqlalchemy[postgresql-psycopgbinary]"]
asyncpg = ["sqlalchemy[postgresql-asyncpg]"]
sqlite = ["sqlalchemy[aiosqlite]"]
aiosqlite = ["sqlalchemy[aiosqlite]"]
[project.entry-points.nb_scripts]
orm = "nonebot_plugin_orm.__main__:main"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"black~=24.2",
"importlib-metadata~=7.0",
"importlib-resources~=6.1",
"isort~=5.13",
"nonemoji~=0.1",
"pre-commit~=3.5",
"pycln~=2.4",
"sqlalchemy[aiosqlite]",
"typing-extensions~=4.9",
]
[tool.black]
line-length = 88
include = '\.pyi?$'
extend-exclude = '''
'''
[tool.isort]
profile = "black"
line_length = 88
length_sort = true
skip_gitignore = true
force_sort_within_sections = true
extra_standard_library = [
"importlib_metadata",
"importlib_resources",
"typing_extensions",
]
[tool.pycln]
path = "."
[tool.pyright]
pythonVersion = "3.8"