Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1290)
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>
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
  • Loading branch information
pre-commit-ci[bot] and chrisjsewell committed Sep 17, 2024
1 parent d25bd33 commit 72138fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.6.5
hooks:
- id: ruff
args: [--fix]
Expand Down
8 changes: 4 additions & 4 deletions sphinx_needs/filter_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def filter_needs_mutable(
location: tuple[str, int | None] | nodes.Node | None = None,
append_warning: str = "",
) -> list[NeedsInfoType]:
return _filter_needs(
return filter_needs(
needs.values(),
config,
filter_string,
Expand All @@ -326,7 +326,7 @@ def filter_needs_view(
location: tuple[str, int | None] | nodes.Node | None = None,
append_warning: str = "",
) -> list[NeedsInfoType]:
return _filter_needs(
return filter_needs(
needs.values(),
config,
filter_string,
Expand All @@ -345,7 +345,7 @@ def filter_needs_parts(
location: tuple[str, int | None] | nodes.Node | None = None,
append_warning: str = "",
) -> list[NeedsInfoType]:
return _filter_needs(
return filter_needs(
needs,
config,
filter_string,
Expand All @@ -356,7 +356,7 @@ def filter_needs_parts(


@measure_time("filtering")
def _filter_needs(
def filter_needs(
needs: Iterable[NeedsInfoType],
config: NeedsSphinxConfig,
filter_string: None | str = "",
Expand Down

0 comments on commit 72138fd

Please sign in to comment.