Skip to content

Commit 56f9ed2

Browse files
committed
chore(ruff): Fix typings
docs/conf.py:204:9: PERF203 `try`-`except` within a loop incurs performance overhead
1 parent 0af87e7 commit 56f9ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def linkcode_resolve(domain, info):
200200
for part in fullname.split("."):
201201
try:
202202
obj = getattr(obj, part)
203-
except Exception:
203+
except Exception: # NOQA: PERF203
204204
return None
205205

206206
# strip decorators, which would resolve to the source of the decorator

0 commit comments

Comments
 (0)