Skip to content

Commit 5ff831c

Browse files
[pre-commit.ci] pre-commit autoupdate (#151)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](astral-sh/ruff-pre-commit@v0.4.4...v0.4.5) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 940a9de commit 5ff831c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.4.4
7+
rev: v0.4.5
88
hooks:
99
- id: ruff
1010
args: [--fix, --exit-non-zero-on-fix]

src/scanpydoc/rtd_github_links/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _get_annotations(obj: _SourceObjectType) -> dict[str, Any]:
128128
return {}
129129

130130

131-
def _get_obj_module(qualname: str) -> tuple[Any, ModuleType]: # noqa: PLR0912
131+
def _get_obj_module(qualname: str) -> tuple[Any, ModuleType]:
132132
"""Get a module/class/attribute and its original module by qualname.
133133
134134
Returns `None` as `obj` if it’s an annotated field without value.

0 commit comments

Comments
 (0)