Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 9, 2025
1 parent 4080d03 commit 841a4cd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions torchgeo/datasets/landsat.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ def default_bands(self) -> tuple[str, ...]:
"""Bands to load by default."""

# https://www.usgs.gov/faqs/what-are-band-designations-landsat-satellites
@property
@abc.abstractmethod
def wavelengths(self) -> dict[str, float]:
"""Central wavelength (μm)."""
# Central wavelength (μm)
wavelengths: ClassVar[dict[str, float]]

def __init__(
self,
Expand Down

0 comments on commit 841a4cd

Please sign in to comment.