This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpyproject.toml
75 lines (65 loc) · 1.84 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
[tool.poetry]
name = "ikea_api"
version = "0"
description = "The package is archived. Client for several IKEA's APIs"
authors = ["Lev Vereshchagin <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/vrslev/ikea-api-client"
keywords = ["ikea", "ikea api", "api", "api client"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: Implementation :: CPython",
"Natural Language :: English",
"Typing :: Typed"
]
include = ["src/ikea_api/py.typed"]
[tool.poetry.dependencies]
python = "^3.8"
typing-extensions = {version = "^4.0.0", python = "<3.10"}
requests = {version = "*", optional = true}
pydantic = {version = ">=2.0,<3.0", optional = true}
httpx = {version = ">=0.23,<0.28", optional = true}
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
black = "*"
pre-commit = "*"
pyright = "1.1.382.post1"
[tool.poetry.extras]
wrappers = ["pydantic"]
requests = ["requests"]
httpx = ["httpx"]
all = ["pydantic", "requests", "httpx"]
[tool.poetry-dynamic-versioning]
enable = true
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
target-version = ["py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
[tool.pyright]
typeCheckingMode = "strict"
pythonVersion = "3.8"
reportMissingTypeStubs = false
reportPrivateUsage = false
reportImportCycles = false
# reportUnnecessaryTypeIgnoreComment = "warning"
[tool.coverage.report]
skip_covered = true
show_missing = true
exclude_lines = [
"pragma: no cover",
"if sys.version_info",
"if TYPE_CHECKING",
"@abstractmethod",
"raise NotImplementedError",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"ignore:Use 'content=<...>' to upload raw bytes/text content",
]