-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (62 loc) · 1.46 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
[project]
name = "sqlalchemy-crud-plus"
description = "Asynchronous CRUD operation based on SQLAlchemy2 model"
dynamic = [
"version",
]
authors = [
{ name = "Wu Clan", email = "[email protected]" },
]
dependencies = [
"sqlalchemy>=2.0.0",
"pydantic>=2.0",
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
[project.urls]
homepage = "https://github.com/fastapi-practices/sqlalchemy-crud-plus"
repository = "https://github.com/fastapi-practices/sqlalchemy-crud-plus"
[tool.pdm.dev-dependencies]
lint = [
"ruff>=0.4.0",
"pre-commit>=3.5.0",
]
test = [
"pytest>=8.1.1",
"aiosqlite>=0.20.0",
"pytest-asyncio>=0.23.6",
]
[tool.ruff]
line-length = 120
unsafe-fixes = true
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"F",
"I"
]
preview = true
ignore-init-module-imports = true
[tool.ruff.lint.isort]
lines-between-types = 1
order-by-type = true
[tool.ruff.format]
quote-style = "single"
docstring-code-format = true
[tool.pdm]
distribution = true
version = { source = "file", path = "sqlalchemy_crud_plus/__init__.py" }
[tool.pdm.scripts]
lint = "pre-commit run --all-files"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"