Skip to content

Commit 3539b45

Browse files
committed
typing fixes
1 parent e596407 commit 3539b45

File tree

3 files changed

+210
-8
lines changed

3 files changed

+210
-8
lines changed

mypy.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ dev = [
3636
"pytest>=7.4.2",
3737
"pytest-mock>=3.14.0",
3838
"faker>=26.0.0",
39+
"mypy>=1.8.0",
40+
"types-redis>=4.6.0",
3941
]
4042

4143
[build-system]
@@ -100,3 +102,15 @@ filterwarnings = [
100102
dev = [
101103
"pytest-asyncio>=1.0.0",
102104
]
105+
106+
[tool.mypy]
107+
python_version = "3.11"
108+
warn_return_any = true
109+
warn_unused_configs = true
110+
ignore_missing_imports = true
111+
mypy_path = "src"
112+
explicit_package_bases = true
113+
114+
[[tool.mypy.overrides]]
115+
module = "src.app.*"
116+
disallow_untyped_defs = true

0 commit comments

Comments
 (0)