Skip to content

Commit 47c7bcd

Browse files
committed
Placate ruff 0.15.2
1 parent 90c8316 commit 47c7bcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sphinxconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ def linkcode_resolve(
4545
for part in fullname.split("."):
4646
try:
4747
obj = getattr(obj, part)
48-
except Exception:
48+
except Exception: # noqa: BLE001
4949
return None
5050

5151
try:
5252
modpath = os.path.dirname(os.path.dirname(inspect.getsourcefile(topmod)))
5353
filepath = os.path.relpath(inspect.getsourcefile(obj), modpath)
54-
except Exception:
54+
except Exception: # noqa: BLE001
5555
return None
5656

5757
if filepath is None:

0 commit comments

Comments
 (0)