Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#912)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0)

* Fix lonboard layer issue

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Qiusheng Wu <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and giswqs authored Oct 8, 2024
1 parent 257e578 commit a689a83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -12,7 +12,7 @@ repos:
args: ["--maxkb=500"]

- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black-jupyter

Expand Down
4 changes: 2 additions & 2 deletions leafmap/deckgl.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def add_gdf(
kwargs["get_fill_color"] = [0, 0, 255, 128]
layer = SolidPolygonLayer.from_geopandas(gdf, **kwargs)

self.layers = self.layers + [layer]
self.layers = self.layers + (layer,)

if zoom_to_layer:
try:
Expand Down Expand Up @@ -270,7 +270,7 @@ def add_layer(
PolygonLayer,
SolidPolygonLayer,
]:
self.layers = self.layers + [layer]
self.layers = self.layers + (layer,)

if zoom_to_layer:
from lonboard._viewport import compute_view
Expand Down

0 comments on commit a689a83

Please sign in to comment.