Skip to content

Commit

Permalink
add Path to nitpicky ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Jun 19, 2024
1 parent c866801 commit 48f1b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
nitpick_ignore = [
# TODO (fix in pluggy?)
("py:class", "HookCaller"),
("py:class", "Path"), # figure how to map to interpshinx
("py:class", "HookspecMarker"),
("py:exc", "PluginValidationError"),
# Might want to expose/TODO (https://github.com/pytest-dev/pytest/issues/7469)
Expand Down
1 change: 1 addition & 0 deletions src/_pytest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ def from_parent( # type: ignore[override]
:param parent: The parent collector of this Dir.
:param path: The directory's path.
:type path: :ref:`python:pathlib.Path`
"""
return super().from_parent(parent=parent, path=path)

Expand Down

0 comments on commit 48f1b69

Please sign in to comment.