We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70b08f5 commit f1bcc6cCopy full SHA for f1bcc6c
docs/conf.py
@@ -178,9 +178,7 @@
178
}
179
180
181
-def linkcode_resolve(
182
- domain: str, info: dict[str, str]
183
-) -> t.Union[None, str]:
+def linkcode_resolve(domain: str, info: dict[str, str]) -> t.Union[None, str]:
184
"""
185
Determine the URL corresponding to Python object
186
@@ -203,7 +201,7 @@ def linkcode_resolve(
203
201
for part in fullname.split("."):
204
202
try:
205
obj = getattr(obj, part)
206
- except Exception:
+ except Exception: # noqa: PERF203
207
return None
208
209
# strip decorators, which would resolve to the source of the decorator
0 commit comments