Skip to content

Commit 72138fd

Browse files
[pre-commit.ci] pre-commit autoupdate (#1290)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Chris Sewell <[email protected]>
1 parent d25bd33 commit 72138fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22

33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.6.3
4+
rev: v0.6.5
55
hooks:
66
- id: ruff
77
args: [--fix]

sphinx_needs/filter_common.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def filter_needs_mutable(
307307
location: tuple[str, int | None] | nodes.Node | None = None,
308308
append_warning: str = "",
309309
) -> list[NeedsInfoType]:
310-
return _filter_needs(
310+
return filter_needs(
311311
needs.values(),
312312
config,
313313
filter_string,
@@ -326,7 +326,7 @@ def filter_needs_view(
326326
location: tuple[str, int | None] | nodes.Node | None = None,
327327
append_warning: str = "",
328328
) -> list[NeedsInfoType]:
329-
return _filter_needs(
329+
return filter_needs(
330330
needs.values(),
331331
config,
332332
filter_string,
@@ -345,7 +345,7 @@ def filter_needs_parts(
345345
location: tuple[str, int | None] | nodes.Node | None = None,
346346
append_warning: str = "",
347347
) -> list[NeedsInfoType]:
348-
return _filter_needs(
348+
return filter_needs(
349349
needs,
350350
config,
351351
filter_string,
@@ -356,7 +356,7 @@ def filter_needs_parts(
356356

357357

358358
@measure_time("filtering")
359-
def _filter_needs(
359+
def filter_needs(
360360
needs: Iterable[NeedsInfoType],
361361
config: NeedsSphinxConfig,
362362
filter_string: None | str = "",

0 commit comments

Comments
 (0)