Skip to content

Commit b114049

Browse files
Ruff and pyright
1 parent 5c68aa9 commit b114049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

installation_and_upgrade/ibex_install_utils/tasks/backup_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _path_to_backup(self, path: str) -> str:
132132
return os.path.join(self._get_backup_dir(), os.path.basename(path))
133133

134134
def _check_backup_space(
135-
self, src: str, ignore: Callable[[str, list[str]], set[str]] | None = None
135+
self, src: str, ignore: "Callable[[str, list[str]], set[str]] | None" = None
136136
) -> Tuple[int, int]:
137137
# Checks if there is enough space to move dir at src into the backup directory
138138
# (all in bytes)
@@ -151,7 +151,7 @@ def _backup_dir(
151151
self,
152152
src: str,
153153
copy: bool = True,
154-
ignore: Callable[[str, list[str]], set[str]] | None = None,
154+
ignore: "Callable[[str, list[str]], set[str]] | None" = None,
155155
) -> None:
156156
"""Move a directory to the backup area.
157157

0 commit comments

Comments
 (0)