Enable RUF101 (#135835)

This commit is contained in:
Joost Lekkerkerker
2025-01-17 13:01:07 +01:00
committed by GitHub
parent ef8b8fbbaa
commit c651e2b3c3
3 changed files with 3 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ def raise_for_blocking_call(
return
if found_frame is None:
raise RuntimeError( # noqa: TRY200
raise RuntimeError( # noqa: B904
f"Caught blocking call to {func.__name__} "
f"with args {mapped_args.get('args')} "
f"in {offender_filename}, line {offender_lineno}: {offender_line} "