Skip to content

Commit 75a553e

Browse files
committed
rimport: Disable pylint broad-exception-caught.
1 parent e87bfe2 commit 75a553e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rimport

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ def main(argv: List[str] | None = None) -> int:
282282
for p in paths:
283283
try:
284284
stage_data(p, root, staging_root)
285-
except Exception as e: # Keep CLI robust for batch runs
285+
except Exception as e: # pylint: disable=broad-exception-caught
286+
# General Exception keeps CLI robust for batch runs
286287
errors += 1
287288
print(f"rimport: error processing {p}: {e}", file=sys.stderr)
288289

0 commit comments

Comments
 (0)