-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.42 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
[build-system]
requires = ["setuptools>=45", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "fastapi_asyncpg"
version = "1.0.1"
description = "FastAPI integration for asyncpg"
readme = "README.md"
requires-python = ">=3.9,<3.14"
license = {text = "MIT"}
authors = [
{name = "Jordi collell", email = "jordic@gmail.com"}
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
]
dependencies = [
"fastapi",
"asyncpg",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy"
]
docs = [
"sphinx",
"recommonmark",
]
test = [
"pytest-docker-fixtures[pg]",
"pytest",
"async_asgi_testclient",
"pytest-asyncio",
]
publish = [
"twine",
]
[project.urls]
Homepage = "https://github.com/jordic/fastapi_asyncpg"
[tool.setuptools]
packages = {find = {exclude = ["tests"]}}
[tool.setuptools.package-data]
fastapi = ["py.typed"]
[tool.ruff]
line-length = 120
exclude = [".git", "__pycache__", "docs/source/conf.py", "old", "build", "dist"]
[tool.ruff.lint]
ignore = ["E302", "W391", "E701", "F901", "E252", "E203"]
[tool.ruff.format]
line-ending = "auto"
[tool.mypy]
namespace_packages = true
ignore_missing_imports = true
follow_imports = "skip"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"