Skip to content

Commit

Permalink
Use typing.List instead of list
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Mar 10, 2024
1 parent b0c20ca commit b4dd2e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions altair_tiles/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import math
from dataclasses import dataclass
from typing import Final, Optional, Union, cast
from typing import Final, Optional, Union, cast, List

import altair as alt
import mercantile as mt
Expand Down Expand Up @@ -354,7 +354,7 @@ class _XYMinMax:
y_max: int


def _bounds_to_x_y_min_max(bounds: list[list[float]], zoom: int) -> _XYMinMax:
def _bounds_to_x_y_min_max(bounds: List[List[float]], zoom: int) -> _XYMinMax:
south_west, north_east = bounds
south, west = south_west
north, east = north_east
Expand Down

0 comments on commit b4dd2e8

Please sign in to comment.