Skip to content

Commit 2cd9f5d

Browse files
[pre-commit.ci] pre-commit autoupdate (#184)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent edc3407 commit 2cd9f5d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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.7.4
7+
rev: v0.8.0
88
hooks:
99
- id: ruff
1010
args: [--fix, --exit-non-zero-on-fix]

src/scanpydoc/elegant_typehints/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ def x() -> Tuple[int, float]:
7272

7373

7474
__all__ = [
75+
"example_func_anonymous_tuple",
7576
"example_func_prose",
7677
"example_func_tuple",
77-
"example_func_anonymous_tuple",
7878
"setup",
7979
]
8080

src/scanpydoc/elegant_typehints/_return_tuple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
UNION_TYPES = {Union, UnionType}
2323

2424

25-
__all__ = ["process_docstring", "_parse_returns_section", "setup"]
25+
__all__ = ["_parse_returns_section", "process_docstring", "setup"]
2626

2727
logger = getLogger(__name__)
2828
re_ret = re.compile("^:returns?: ")

0 commit comments

Comments
 (0)