forked from tursodatabase/libsql-client-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (52 loc) · 1.54 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
[tool.poetry]
name = "libsql-client"
version = "0.3.1-pre"
authors = [
"Gustavo Barbieri <[email protected]>",
"Jan Špaček <[email protected]>",
"ChiselStrike",
]
description = "Python SDK for libSQL"
homepage = "https://github.com/libsql/libsql-client-py"
repository = "https://github.com/libsql/libsql-client-py"
documentation = "https://libsql.org/libsql-client-py/"
readme = "README.md"
license = "MIT"
classifiers = [
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.7"
aiohttp = "^3.0"
typing-extensions = "^4.5"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2"
pytest-asyncio = "^0.20.3"
mypy = "^1.2"
requests = "^2.28.2"
[tool.poetry.group.pandas]
optional = true
[tool.poetry.group.pandas.dependencies]
pandas = "^1.0"
[tool.mypy]
packages = ["libsql_client"]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.black]
line-length = 88
target-version = ['py37']
# tests/dbapi2 are copies from cpython-3.11.3, do not touch
force-exclude = "(tests/dbapi2|hrana-test-server)/"
# disable isort, for IDEs that just default isort to be turned on, e.g. vscode.
# we use flake8-import-order for import sorting, using zimports to actually
# reformat code. isort is nicer in many ways but doesn't have our
# "import *" fixer and also is not 100% compatible with flake8-import-order.
[tool.isort]
skip_glob=['*']
[tool.zimports]
black-line-length = 88
keep-unused-type-checking = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"