Skip to content

Commit 1eccee3

Browse files
author
Mikhail Samin's Claude
committed
Remove unused noqa directives flagged by RUF100
The BLE001 rule isn't enabled in this project, so the noqa references to it were unused and failed the lint job.
1 parent 4a92975 commit 1eccee3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/audd/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _decode_enterprise(resp: HTTPResponse) -> list[EnterpriseMatch]:
206206
for chunk_dict in chunks_raw:
207207
try:
208208
chunk = EnterpriseChunkResult.model_validate(chunk_dict)
209-
except Exception: # noqa: BLE001 — degrade, never raise on response parse
209+
except Exception: # degrade, never raise on response parse
210210
continue
211211
out.extend(chunk.songs)
212212
return out

src/audd/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _coerce_model_list(value: Any, model: type[BaseModel]) -> list[Any]:
5454
continue
5555
try:
5656
out.append(model.model_validate(item))
57-
except Exception: # noqa: BLE001 — degrade, never raise on response parse
57+
except Exception: # degrade, never raise on response parse
5858
continue
5959
return out
6060

0 commit comments

Comments
 (0)