-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (111 loc) · 2.5 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (111 loc) · 2.5 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
[project]
name = "peewee-aio"
version = "3.1.6"
description = "Async support for Peewee ORM"
authors = [{ name = "Kirill Klenov", email = "horneds@gmail.com" }]
requires-python = ">=3.10,<4"
readme = "README.md"
license = "MIT"
keywords = ["peewee", "asyncio", "trio", "orm"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Framework :: AsyncIO",
"Framework :: Trio",
]
dependencies = [
"peewee",
"aio-databases",
"typing-extensions ; python_full_version < '3.11'",
]
[project.optional-dependencies]
asyncpg = ["asyncpg"]
aiopg = ["aiopg"]
aiomysql = ["aiomysql"]
aiosqlite = ["aiosqlite"]
trio_mysql = ["trio_mysql"]
[project.urls]
Homepage = "https://github.com/klen/peewee-aio"
Repository = "https://github.com/klen/peewee-aio"
[dependency-groups]
dev = [
"pytest",
"pyrefly",
"pytest-aio[trio]",
"trio_asyncio",
"aio-databases[aiopg, aiomysql, aiosqlite, asyncpg, trio_mysql]",
"ruff",
"pre-commit",
"types-peewee",
]
[tool.uv]
[tool.uv.build-backend]
module-name = ["peewee_aio"]
module-root = ""
[build-system]
requires = ["uv_build>=0.9.7,<0.10.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
addopts = "-xsv -W ignore::ResourceWarning"
log_cli = true
filterwarnings = [
"ignore::Warning:aiomysql",
"ignore::Warning:trio_mysql",
]
[tool.pyrefly]
project-includes = ["peewee_aio/*.py"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310,py311,py312,py313,py314
isolated_buiid = true
[testenv]
allowlist_externals = poetry
skip_install = true
commands_pre =
poetry install
deps = -e .[dev]
commands =
poetry run pytest tests --import-mode importlib
"""
[tool.ruff]
include = ["peewee_aio/*.py"]
line-length = 100
target-version = "py310"
exclude = [".venv", "docs", "examples"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ARG",
"D",
"UP",
"ANN",
"DJ",
"EM",
"RSE",
"SLF",
"RET",
"S101",
"PLR2004",
"PLR0912",
"N804",
"A003",
"TRY003",
"COM812",
]
[tool.bumpversion]
current_version = "3.1.6"
commit = false
tag = false
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'