diff options
| author | 2025-11-10 19:44:23 +0000 | |
|---|---|---|
| committer | 2025-11-10 23:19:27 +0000 | |
| commit | 2fa5aa2037616b0cfd61ac67f6d145e6da12723a (patch) | |
| tree | c6b05249a01a600f485281c12dcbbfba0657e523 /docs | |
| parent | Unignore B904 (raise-without-from-inside-except) (diff) | |
Fix B904 across project (raise-without-from-except-inside)12.x
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |