Skip to content

Commit

Permalink
remove unused ignore tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Jul 24, 2024
1 parent 8e4817e commit 2dfec96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/monty/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,10 +637,10 @@ def default(self, o) -> dict:
"data": str(o),
}
try:
module_version = import_module("pint").__version__ # type: ignore
module_version = import_module("pint").__version__
d["@version"] = str(module_version)
except (AttributeError, ImportError):
d["@version"] = None # type: ignore
d["@version"] = None
return d

if bson is not None and isinstance(o, bson.objectid.ObjectId):
Expand Down

0 comments on commit 2dfec96

Please sign in to comment.