Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#184)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Nov 29, 2024
1 parent edc3407 commit 2cd9f5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/scanpydoc/elegant_typehints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def x() -> Tuple[int, float]:


__all__ = [
"example_func_anonymous_tuple",
"example_func_prose",
"example_func_tuple",
"example_func_anonymous_tuple",
"setup",
]

Expand Down
2 changes: 1 addition & 1 deletion src/scanpydoc/elegant_typehints/_return_tuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
UNION_TYPES = {Union, UnionType}


__all__ = ["process_docstring", "_parse_returns_section", "setup"]
__all__ = ["_parse_returns_section", "process_docstring", "setup"]

logger = getLogger(__name__)
re_ret = re.compile("^:returns?: ")
Expand Down

0 comments on commit 2cd9f5d

Please sign in to comment.