summaryrefslogtreecommitdiff
path: root/src/_pytest/hookspec.py
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-05-01 14:40:16 +0300
committerRan Benita <ran@unusedvar.com>2020-06-05 11:34:19 +0300
commite68a26199cb2bae0f001ab495232525f38227ad9 (patch)
tree5b947348ce125273d850a700309d7a68f83009f7 /src/_pytest/hookspec.py
parentd95132178c073debcb687075f0f986d7d0322e9d (diff)
downloadpytest-e68a26199cb2bae0f001ab495232525f38227ad9.tar.gz
Type annotate misc functions
Diffstat (limited to 'src/_pytest/hookspec.py')
-rw-r--r--src/_pytest/hookspec.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/_pytest/hookspec.py b/src/_pytest/hookspec.py
index ccdb0bde9..c5d5bdedd 100644
--- a/src/_pytest/hookspec.py
+++ b/src/_pytest/hookspec.py
@@ -223,7 +223,9 @@ def pytest_collection(session: "Session") -> Optional[Any]:
"""
-def pytest_collection_modifyitems(session: "Session", config: "Config", items):
+def pytest_collection_modifyitems(
+ session: "Session", config: "Config", items: List["Item"]
+) -> None:
""" called after collection has been performed, may filter or re-order
the items in-place.