Skip to content

Commit e8d4133

Browse files
committed
Fix precommit errors
1 parent 7e92f50 commit e8d4133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dreadnode/artifact/merger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,9 @@ def _update_directory_hash(self, dir_node: DirectoryNode) -> str:
586586

587587
for child in dir_node["children"]:
588588
if child["type"] == "file":
589-
child_hashes.append(cast(FileNode, child)["hash"])
589+
child_hashes.append(cast("FileNode", child)["hash"])
590590
else:
591-
child_hash = self._update_directory_hash(cast(DirectoryNode, child))
591+
child_hash = self._update_directory_hash(cast("DirectoryNode", child))
592592
child_hashes.append(child_hash)
593593

594594
child_hashes.sort() # Ensure consistent hash regardless of order

0 commit comments

Comments
 (0)