Skip to content

Commit 6b6696c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 60906f1 commit 6b6696c

17 files changed

Lines changed: 29 additions & 29 deletions

folium/plugins/beautify_icon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __init__(
9393
inner_icon_style="",
9494
spin=False,
9595
number=None,
96-
**kwargs
96+
**kwargs,
9797
):
9898
super().__init__()
9999
self._name = "BeautifyIcon"
@@ -109,5 +109,5 @@ def __init__(
109109
spin=spin,
110110
isAlphaNumericIcon=number is not None,
111111
text=number,
112-
**kwargs
112+
**kwargs,
113113
)

folium/plugins/boat_marker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(
5757
heading=0,
5858
wind_heading=None,
5959
wind_speed=0,
60-
**kwargs
60+
**kwargs,
6161
):
6262
super().__init__(location, popup=popup, icon=icon)
6363
self._name = "BoatMarker"

folium/plugins/fullscreen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(
5454
title="Full Screen",
5555
title_cancel="Exit Full Screen",
5656
force_separate_button=False,
57-
**kwargs
57+
**kwargs,
5858
):
5959
super().__init__()
6060
self._name = "Fullscreen"
@@ -63,5 +63,5 @@ def __init__(
6363
title=title,
6464
title_cancel=title_cancel,
6565
force_separate_button=force_separate_button,
66-
**kwargs
66+
**kwargs,
6767
)

folium/plugins/geocoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(
7676
zoom: Optional[int] = 11,
7777
provider: str = "nominatim",
7878
provider_options: dict = {},
79-
**kwargs
79+
**kwargs,
8080
):
8181
super().__init__()
8282
self._name = "Geocoder"
@@ -87,5 +87,5 @@ def __init__(
8787
zoom=zoom,
8888
provider=provider,
8989
provider_options=provider_options,
90-
**kwargs
90+
**kwargs,
9191
)

folium/plugins/heat_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(
7373
overlay=True,
7474
control=True,
7575
show=True,
76-
**kwargs
76+
**kwargs,
7777
):
7878
super().__init__(name=name, overlay=overlay, control=control, show=show)
7979
self._name = "HeatMap"
@@ -95,7 +95,7 @@ def __init__(
9595
radius=radius,
9696
blur=blur,
9797
gradient=gradient,
98-
**kwargs
98+
**kwargs,
9999
)
100100

101101
def _get_self_bounds(self):

folium/plugins/marker_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(
8484
show=True,
8585
icon_create_function=None,
8686
options=None,
87-
**kwargs
87+
**kwargs,
8888
):
8989
if options is not None:
9090
kwargs.update(options) # options argument is legacy

folium/plugins/measure_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
secondary_length_unit="miles",
6767
primary_area_unit="sqmeters",
6868
secondary_area_unit="acres",
69-
**kwargs
69+
**kwargs,
7070
):
7171
super().__init__()
7272
self._name = "MeasureControl"
@@ -77,5 +77,5 @@ def __init__(
7777
secondary_length_unit=secondary_length_unit,
7878
primary_area_unit=primary_area_unit,
7979
secondary_area_unit=secondary_area_unit,
80-
**kwargs
80+
**kwargs,
8181
)

folium/plugins/minimap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(
101101
toggle_display=False,
102102
auto_toggle_display=False,
103103
minimized=False,
104-
**kwargs
104+
**kwargs,
105105
):
106106
super().__init__()
107107
self._name = "MiniMap"
@@ -126,5 +126,5 @@ def __init__(
126126
toggle_display=toggle_display,
127127
auto_toggle_display=auto_toggle_display,
128128
minimized=minimized,
129-
**kwargs
129+
**kwargs,
130130
)

folium/plugins/mouse_position.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
prefix="",
8282
lat_formatter=None,
8383
lng_formatter=None,
84-
**kwargs
84+
**kwargs,
8585
):
8686
super().__init__()
8787
self._name = "MousePosition"
@@ -93,7 +93,7 @@ def __init__(
9393
lng_first=lng_first,
9494
num_digits=num_digits,
9595
prefix=prefix,
96-
**kwargs
96+
**kwargs,
9797
)
9898
self.lat_formatter = lat_formatter or "undefined"
9999
self.lng_formatter = lng_formatter or "undefined"

folium/plugins/overlapping_marker_spiderfier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(
7373
nearby_distance: int = 20,
7474
leg_weight: float = 1.5,
7575
circle_spiral_switchover: int = 9,
76-
**kwargs
76+
**kwargs,
7777
):
7878
super().__init__()
7979
self._name = "OverlappingMarkerSpiderfier"
@@ -82,7 +82,7 @@ def __init__(
8282
nearby_distance=nearby_distance,
8383
leg_weight=leg_weight,
8484
circle_spiral_switchover=circle_spiral_switchover,
85-
**kwargs
85+
**kwargs,
8686
)
8787

8888
def add_to(

0 commit comments

Comments
 (0)