Skip to content

Commit 6e18630

Browse files
PauBadiaMclaude
andcommitted
Suppress BLE001 ruff warning for broad exception in mirror fallback
The broad except is intentional here — any failure (network, parsing, key errors) should fall through to the next mirror. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 636ed78 commit 6e18630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decoupler/ds/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def ensmbl_to_symbol(
6060
continue
6161
eids = df[1].to_dict()
6262
return [eids[g] if g in eids else None for g in genes]
63-
except Exception:
63+
except Exception: # noqa: BLE001
6464
continue
6565
# Zenodo fallback for human and mouse
6666
if organism in ["hsapiens_gene_ensembl", "mmusculus_gene_ensembl"]:

0 commit comments

Comments
 (0)