Exclude folium from the "untyped-call" check
`folium` has no type annotations, so every call into it counted as untyped
This commit is contained in:
parent
c339719936
commit
27171fe79a
1 changed files with 5 additions and 1 deletions
|
|
@ -354,8 +354,12 @@ disallow_any_generics = true
|
||||||
# Disallow functions with incomplete type annotations
|
# Disallow functions with incomplete type annotations
|
||||||
disallow_incomplete_defs = true
|
disallow_incomplete_defs = true
|
||||||
|
|
||||||
# Disallow calling functions without type annotations
|
# Disallow calling functions without type annotations ...
|
||||||
disallow_untyped_calls = true
|
disallow_untyped_calls = true
|
||||||
|
# ... except for libraries without type annotations
|
||||||
|
untyped_calls_exclude = [
|
||||||
|
"folium",
|
||||||
|
]
|
||||||
|
|
||||||
# Disallow functions without type annotations (or incomplete annotations)
|
# Disallow functions without type annotations (or incomplete annotations)
|
||||||
disallow_untyped_defs = true
|
disallow_untyped_defs = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue