File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -355,9 +355,7 @@ def to_step(
355355 method = (
356356 "quantiles"
357357 if quantiles is not None
358- else method
359- if method is not None
360- else "linear"
358+ else method if method is not None else "linear"
361359 )
362360 if method .lower ().startswith ("lin" ):
363361 if n is None :
Original file line number Diff line number Diff line change @@ -387,11 +387,19 @@ def _camelify(out):
387387 (
388388 "" .join (
389389 [
390- "_" + x .lower ()
391- if i < len (out ) - 1 and x .isupper () and out [i + 1 ].islower () # noqa
392- else x .lower () + "_"
393- if i < len (out ) - 1 and x .islower () and out [i + 1 ].isupper () # noqa
394- else x .lower ()
390+ (
391+ "_" + x .lower ()
392+ if i < len (out ) - 1
393+ and x .isupper ()
394+ and out [i + 1 ].islower () # noqa
395+ else (
396+ x .lower () + "_"
397+ if i < len (out ) - 1
398+ and x .islower ()
399+ and out [i + 1 ].isupper () # noqa
400+ else x .lower ()
401+ )
402+ )
395403 for i , x in enumerate (list (out ))
396404 ],
397405 )
Original file line number Diff line number Diff line change 22Folium Colormap Module
33----------------------
44"""
5+
56import pytest
67
78import branca .colormap as cm
Original file line number Diff line number Diff line change 22Folium Element Module class IFrame
33----------------------
44"""
5+
56import os
67
78import pytest
You can’t perform that action at this time.
0 commit comments