Skip to content

Commit 27e0bb3

Browse files
committed
config: remove a couple of unneeded :type: doc comments
1 parent 52268d2 commit 27e0bb3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_pytest/config/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ class InvocationParams:
10051005
plugins: Sequence[str | _PluggyPlugin] | None
10061006
"""Extra plugins, might be `None`."""
10071007
dir: pathlib.Path
1008-
"""The directory from which :func:`pytest.main` was invoked. :type: pathlib.Path"""
1008+
"""The directory from which :func:`pytest.main` was invoked."""
10091009

10101010
def __init__(
10111011
self,
@@ -1099,8 +1099,6 @@ def __init__(
10991099
def rootpath(self) -> pathlib.Path:
11001100
"""The path to the :ref:`rootdir <rootdir>`.
11011101
1102-
:type: pathlib.Path
1103-
11041102
.. versionadded:: 6.1
11051103
"""
11061104
return self._rootpath

0 commit comments

Comments
 (0)