-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
127 lines (111 loc) · 2.67 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
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
126
127
[tool.poetry]
name = "psqlpy-piccolo"
version = "0.1.7"
description = "PSQLPy-based engine for Piccolo-orm"
authors = [
"chandr-andr (Kiselev Aleksandr) <chandr@chandr.net>",
"insani7y (Gurbanov Mikhail) <my.gurbanov@gmail.com>",
]
maintainers = [
"Kiselev Aleksandr <chandr@chandr.net>",
"Gurbanov Mikhail <my.gurbanov@gmail.com>",
]
readme = "README.md"
keywords = [
"python",
"postgresql",
"psqlpy",
"piccolo",
"async-engine",
"psqlpy-engine",
]
classifiers = [
"Typing :: Typed",
"Topic :: Database",
"Development Status :: 4 - Beta",
"Programming Language :: Rust",
"Programming Language :: Python",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
]
[tool.poetry.dependencies]
python = "^3.8"
psqlpy = "^0.7.4"
typing-extensions = "^4.12.2"
piccolo = "^1.14.0"
[tool.poetry.group.lint.dependencies]
ruff = "^0.4.7"
black = "^24.4.2"
isort = "^5.13.2"
[tool.poetry.group.dev.dependencies]
anyio = "^4.4.0"
pytest = "^8.3.1"
pytest-cov = "^5.0.0"
trio = "^0.26.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.black]
line-length = 89
[tool.mypy]
strict = true
mypy_path = "python"
ignore_missing_imports = true
allow_subclassing_any = true
allow_untyped_calls = true
pretty = true
show_error_codes = true
implicit_reexport = true
allow_untyped_decorators = true
warn_return_any = false
warn_unused_ignores = false
[tool.ruff]
target-version = "py38"
line-length = 120
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"EM",
"FBT",
"FIX002",
"TRY003",
"TD003",
"D1",
"D106",
"D203",
"D213",
"G004",
"FA",
"ANN101",
"ANN102",
"SLF001",
"COM812",
"ISC001",
]
[tool.ruff.lint.isort]
no-lines-before = ["standard-library", "local-folder"]
known-third-party = []
known-local-folder = []
lines-after-imports = 2
[tool.ruff.lint.extend-per-file-ignores]
"tests/*.py" = ["S101", "S311"]
[tool.coverage.report]
exclude_also = ["if typing.TYPE_CHECKING:", 'class \w+\(typing.Protocol\):']
omit = ["tests/*"]
[tool.pytest.ini_options]
addopts = '--cov=. -p no:warnings --cov-report term-missing'