Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Huang committed Feb 9, 2024
1 parent 942b4a3 commit 200a984
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/src/space/core/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ def reload(self) -> bool:
return False

metadata = _read_metadata(self._fs, self._location, entry_point)
self.__init__(
self.__init__( # type: ignore[misc] # pylint: disable=unnecessary-dunder-call
self.location,
entry_point.metadata_file,
metadata, # type: ignore[misc] # pylint: disable=unnecessary-dunder-call
self.current_branch) # type: ignore[misc] # pylint: disable=unnecessary-dunder-call
metadata,
self.current_branch)
logging.info(
f"Storage reloaded to snapshot: {self._metadata.current_snapshot_id}")
return True
Expand Down

0 comments on commit 200a984

Please sign in to comment.