Skip to content

Commit

Permalink
lint: fix two small lints found by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Mar 6, 2023
1 parent 8774c98 commit dcac0d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pystac/extensions/eo.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def migrate(
obj["stac_extensions"] = []
if view.SCHEMA_URI not in obj["stac_extensions"]:
obj["stac_extensions"].append(view.SCHEMA_URI)
if not "view:{}".format(field) in obj["properties"]:
if "view:{}".format(field) not in obj["properties"]:
obj["properties"]["view:{}".format(field)] = obj["properties"][
"eo:{}".format(field)
]
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import unittest
from copy import deepcopy
from datetime import datetime
from typing import TYPE_CHECKING, Any, Dict, Type
from typing import Any, Dict, Type

from dateutil.parser import parse

Expand Down

0 comments on commit dcac0d9

Please sign in to comment.