Skip to content

Commit

Permalink
Fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantre committed Jun 23, 2023
1 parent 2b2be02 commit 3f91e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchgeo/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from collections.abc import Iterable, Iterator, Sequence
from dataclasses import dataclass
from datetime import datetime, timedelta
from typing import Any, cast, List, overload
from typing import Any, cast, overload

import fiona
import numpy as np
Expand Down Expand Up @@ -742,7 +742,7 @@ def percentile_normalization(
return img_normalized


def listdir_vsi_recursive(root: str) -> List[str]:
def listdir_vsi_recursive(root: str) -> list[str]:
"""Walk directory and return list of all files in subdirectories.
Also supports listing filenames within a GDAL Virtual File System like
Expand Down

0 comments on commit 3f91e97

Please sign in to comment.