Make mypy work again #8

Merged
alexander merged 16 commits from fix-mypy into develop 2026-11-30 14:13:44 +01:00
Showing only changes of commit 27171fe79a - Show all commits

Exclude folium from the "untyped-call" check

`folium` has no type annotations, so every call into it counted as untyped
Alexander Hess 2026-11-30 11:32:05 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -354,8 +354,12 @@ disallow_any_generics = true
# Disallow functions with incomplete type annotations
disallow_incomplete_defs = true
# Disallow calling functions without type annotations
# Disallow calling functions without type annotations ...
disallow_untyped_calls = true
# ... except for libraries without type annotations
untyped_calls_exclude = [
"folium",
]
# Disallow functions without type annotations (or incomplete annotations)
disallow_untyped_defs = true