Remove unused var

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-08-22 14:57:54 +02:00
1 parent 48a1952cae
commit 2c23e1151c
1 file changed
+6 -2
+6 -2
View File
@@ -194,8 +194,12 @@ class Project:
if not self.is_ignored_path(abs_file_path, ignore_non_source_files=True):
try:
rel_file_path = os.path.relpath(abs_file_path, start=self.project_root)
except Exception as e:
log.warning("Ignoring path '%s' because it appears to be outside of the project root (%s)", abs_file_path, self.project_root)
except Exception:
log.warning(
"Ignoring path '%s' because it appears to be outside of the project root (%s)",
abs_file_path,
self.project_root,
)
continue
rel_file_paths.append(rel_file_path)
except FileNotFoundError: