diff --git a/pyproject.toml b/pyproject.toml index 9de9cb9..2d301b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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