forked from mardiros/blacksmith
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (85 loc) · 2.2 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
[tool.poetry]
authors = ["Guillaume Gauvrit <guillaume@gauvr.it>"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
]
description = "REST API Client designed for microservices"
homepage = "https://github.com/mardiros/blacksmith"
license = "BSD-derived"
name = "blacksmith"
readme = "README.rst"
repository = "https://github.com/mardiros/blacksmith"
version = "3.0.0"
[tool.poetry.dependencies]
python = "^3.8.1"
httpx = ">=0.24"
prometheus-client = {version = ">=0.17.1 <1", optional = true}
purgatory = "^2.0.0"
pydantic = "^2.6.0"
typing-extensions = "^4.7.0"
result = ">=0.11.0, <1"
[tool.poetry.extras]
http_cache_async = ["redis"]
http_cache_sync = ["redis"]
prometheus = ["prometheus-client"]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
coverage = {version = "^7.5.1", extras = ["toml"]}
esbonio = "^0.16.4"
fastapi = "^0.111.0"
flake8 = "^7.0.0"
furo = "^2024.5.6"
isort = "^5.10.1"
mypy = "^1.4.1"
prometheus-client = ">=0.17.1 <1"
pytest = "^7.4.0"
pytest-asyncio = "^0.21.0"
pytest-cov = "^4.1.0"
redis = "^5.0.4"
sphinx = "^7.0.1"
sphinx-autodoc-typehints = "^1.12.0"
starlette-zipkin = "^0.3.0"
tomlkit = "^0.12.5"
types-redis = "^4.6.0"
unasync = "^0.6.0"
uvicorn = "^0.29.0"
aiohttp = "^3.9.5"
[tool.pytest.ini_options]
asyncio_mode = "auto"
norecursedirs = "tests/unittests/scanned_resources"
testpaths = ["tests"]
filterwarnings = [
"error",
]
[tool.pyright]
ignore = ["examples"]
include = ["src", "tests"]
reportPrivateUsage = false
reportUnknownMemberType = false
reportUnknownParameterType = false
reportUnknownVariableType = false
reportShadowedImports = false
typeCheckingMode = "strict"
[[tool.mypy.overrides]]
disallow_any_generics = true
disallow_untyped_defs = true
module = "blacksmith.*"
[tool.isort]
profile = "black"
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"except ImportError:",
"\\s+\\.\\.\\.$",
"# coverage: ignore",
]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.2.0"]