Skip to content

Commit

Permalink
fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Jan 11, 2025
1 parent 454b949 commit 75175f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from dataclasses import dataclass
from datetime import datetime, timezone
from pathlib import Path, PurePath
from typing import Optional

import boto3
from shapely import geometry
Expand Down Expand Up @@ -57,7 +58,7 @@ class ItemMetadata:
bbox: geometry.Polygon
tile: str
product: str
extra: ExtraItemMetadata = None
extra: Optional[ExtraItemMetadata] = None


def get_s3_url() -> str:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ warn_unused_ignores = true
warn_unreachable = true
strict_equality = true
check_untyped_defs = true
exclude = ["/build/"]

0 comments on commit 75175f2

Please sign in to comment.