Skip to content

Commit 11dda61

Browse files
committed
add mypy configuration
1 parent 4aebf42 commit 11dda61

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ lines_after_imports = 2
4040
lines_between_types = 1
4141
use_parentheses = true
4242

43+
[tool.mypy]
44+
check_untyped_defs = true
45+
ignore_missing_imports = true
46+
show_error_codes = true
47+
warn_redundant_casts = true
48+
warn_unused_configs = true
49+
warn_unused_ignores = true
50+
files = "src"
4351

4452
[build-system]
4553
requires = ["poetry-core"]

0 commit comments

Comments
 (0)