Skip to content

Fill in the missing type annotations in folium.map - #2355

Open
jorenham wants to merge 1 commit into
python-visualization:mainfrom
jorenham:typing/map/coverage
Open

jorenham wants to merge 1 commit into
python-visualization:mainfrom
jorenham:typing/map/coverage

Conversation

@jorenham

@jorenham jorenham commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

As promised in #2313, here's the first PR that increases type coverage. With this, nothing in map.py public API is untyped anymore (measured with uvx pyrefly coverage check --public-only folium).

If this is to your liking, I'll also do this for the other public API modules as well, so that we can get folium to 100% public type coverage :)

In case you care: I did this all by hand, and only used AI (Opus 5.5) to review the changes.

@jorenham

Copy link
Copy Markdown
Contributor Author

CI failure seems unrelated

This branch was previously deployed

1 inactive deployment
pypi — 075f0a94 Deployed Nov 18, 2026 by jorenham via packages #2108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant