Skip to content

Commit e6090d4

Browse files
committed
fixed cov failing test
1 parent 618e8ee commit e6090d4

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

mypy.ini

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

pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,26 @@ ignore = [
9999

100100
[tool.ruff.isort]
101101
known-third-party = ["django-ninja-extra", "Django", "injector", "pydantic"]
102+
103+
[tool.mypy]
104+
show_column_numbers = true
105+
106+
follow_imports = 'normal'
107+
ignore_missing_imports = true
108+
109+
# be strict
110+
disallow_untyped_calls = true
111+
warn_return_any = true
112+
strict_optional = true
113+
warn_no_return = true
114+
warn_redundant_casts = true
115+
warn_unused_ignores = true
116+
117+
disallow_untyped_defs = true
118+
check_untyped_defs = true
119+
no_implicit_reexport = true
120+
121+
[[tool.mypy.overrides]]
122+
module = "ninja_extra.compatible.*"
123+
ignore_missing_imports = true
124+
check_untyped_defs = true

0 commit comments

Comments
 (0)