-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (62 loc) · 1.72 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
[tool.poetry]
name = "lapidary"
version = "0.12.2"
description = "Python async OpenAPI client library"
authors = ["Raphael Krupinski <[email protected]>"]
license = "MIT"
readme = "Readme.md"
packages = [{ include = "lapidary", from = "src" }]
repository = "https://github.com/python-lapidary/lapidary"
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.9"
httpx = {extras = ["http2"], version = "^0.27"}
httpx-auth = "^0.22"
pydantic = "^2.5.2"
python-mimeparse = "2.0.0"
typing-extensions = { python = "<3.12", version = "^4.9.0" }
[tool.poetry.group.dev.dependencies]
pytest = ">=7.1,<9.0"
pytest-asyncio = ">=0.23.3,<0.25.0"
starlette = ">=0.38.2,<0.42.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
pythonpath = [
"src",
"tests"
]
addopts = "--color=yes"
[tool.mypy]
mypy_path = "src"
namespace_packages = true
python_version = "3.9"
packages = ["lapidary.runtime"]
[tool.ruff]
target-version = "py39"
line-length = 140
[tool.ruff.lint]
#extend-select = ["E501", "E4", "E7", "E9", "F", "B", 'UP', 'D']
select = ['F', 'E', 'W', 'C90', 'I', 'UP']
ignore = ['F842']
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["lapidary.runtime"]
known-local-folder = ["src"]