mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-10 19:38:52 -06:00
Fix mypy errors
This commit is contained in:
@@ -111,7 +111,7 @@ class H5File:
|
||||
), f"bytes expected; found: {value.__class__}" # type: ignore
|
||||
self.put_array(key, np.frombuffer(value, dtype="uint8"))
|
||||
|
||||
def close(self):
|
||||
def close(self) -> None:
|
||||
self.file.close()
|
||||
|
||||
def __enter__(self) -> "H5File":
|
||||
|
||||
Reference in New Issue
Block a user