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 82d245836f - Show all commits

Annotate the defaults in Address.draw()

The `**kwargs` for `folium.Circle()` are not all strings
Alexander Hess 2026-11-30 11:38:18 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -197,7 +197,7 @@ class Address(meta.Base):
Returns:
`.city.map` for convenience in interactive usage
"""
defaults = {
defaults: dict[str, Any] = {
"color": f"{config.NEUTRAL_COLOR}",
"popup": f"{self.street}, {self.zip_code} {self.city_name}",
}