Skip to content

Commit

Permalink
Update warnings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipPartsch authored Oct 17, 2024
1 parent 9188455 commit 41a9266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_needs/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def process_warnings(app: Sphinx, exception: Exception | None) -> None:
result = []
for need in needs_view.values():
sig = signature(warning_filter)
if len(sig.parameters) >= 3: # type: ignore [call-arg]
if len(sig.parameters) >= 3: # type: ignore[call-arg]
if warning_filter(need, logger, needs_view):
result.append(need)
else:
Expand Down

0 comments on commit 41a9266

Please sign in to comment.