From 2fa5aa2037616b0cfd61ac67f6d145e6da12723a Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 10 Nov 2025 19:44:23 +0000 Subject: Fix B904 across project (raise-without-from-except-inside) --- docs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/utils.py b/docs/utils.py index 567f0d18..d11f0d9c 100644 --- a/docs/utils.py +++ b/docs/utils.py @@ -98,7 +98,7 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> str | # These are ClassVars added by pydantic. # Since they're not in our source code, we cannot resolve them to a url. return None - raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.") + raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.") from None start, end = pos _, offset = inspect.getsourcelines(symbol[-2]) -- cgit v1.2.3