Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysrevans3 committed Feb 27, 2024
1 parent 18f2399 commit 0ff3c35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion stac_generator/plugins/inputs/thredds.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_sub_attr(obj: object, path: str):
attrs = path.split(".")

for attr in attrs:
if type(obj) == CaseInsensitiveDict:
if isinstance(obj, CaseInsensitiveDict):
obj = obj[attr]
continue

Expand Down
4 changes: 0 additions & 4 deletions stac_generator/plugins/outputs/stacapi_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@
__license__ = "BSD - see LICENSE file in top-level package directory"
__contact__ = "[email protected]"

import datetime
import hashlib
import os

import pystac
import pystac.extensions.eo
import requests
from shapely.geometry import Polygon, mapping

from stac_generator.core.output import BaseOutput

Expand Down

0 comments on commit 0ff3c35

Please sign in to comment.