-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
67 lines (57 loc) · 1.5 KB
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
[tool.poetry]
name = "fast-cache-middleware"
version = "0.0.7"
description = "An intelligent middleware for caching FastAPI responses"
authors = ["www.chud0@gmail.com"]
readme = "README.md"
packages = [{include = "fast_cache_middleware"}]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = ">=0.111.1,<1.0.0"
pydantic = ">=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0 || >2.0.0,<2.0.1 || >2.0.1,<2.1.0 || >2.1.0,<3.0.0"
redis = { version = "^6.4.0", optional = true }
[tool.poetry.extras]
redis = ["redis"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
pytest-asyncio = "^0.21.1"
black = "^23.10.1"
isort = "^5.12.0"
mypy = "^1.6.1"
pytest-cov = "^4.1.0"
httpx = "^0.28.1"
uvicorn = "^0.34.3"
types-redis = "^4.6.0.20241004"
redis = "^6.4.0"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.6.18"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_optional = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
disallow_incomplete_defs = false