Add soft-delete for system maintenance tasks

This commit is contained in:
Matteo Parenti
2026-02-13 15:39:52 +01:00
parent 6c36fe9ebe
commit 8b0895f63f
11 changed files with 135 additions and 15 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ def find_import_shadowing(file_path: Path) -> list[tuple[str, int, str]]:
Returns list of (name, line_number, function_name) tuples.
"""
try:
with open(file_path) as f:
with open(file_path, encoding="utf-8") as f:
source = f.read()
tree = ast.parse(source)
visitor = DangerousImportVisitor()