Make mypy work again #8
1 changed files with 5 additions and 1 deletions
Exclude folium from the "untyped-call" check
`folium` has no type annotations, so every call into it counted as untyped
commit
27171fe79a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue