Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 18, 2024
1 parent 3d56553 commit 540c003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def linkcode_resolve(domain, info):
obj = reduce(getattr, [mod] + info["fullname"].split("."))
try:
path = inspect.getsourcefile(obj)
relpath = path[modpath.rfind("/src") + 1:]
relpath = path[modpath.rfind("/src") + 1 :]
_, lineno = inspect.getsourcelines(obj)
except TypeError:
# skip property or other type that inspect doesn't like
Expand Down

0 comments on commit 540c003

Please sign in to comment.