@@ -738,7 +738,7 @@ def pytest_assertion_pass(item: "Item", lineno: int, orig: str, expl: str) -> No
738
738
# -------------------------------------------------------------------------
739
739
740
740
741
- def pytest_report_header (
741
+ def pytest_report_header ( # type:ignore[empty-body]
742
742
config : "Config" , start_path : Path , startdir : "LEGACY_PATH"
743
743
) -> Union [str , List [str ]]:
744
744
"""Return a string or list of strings to be displayed as header info for terminal reporting.
@@ -767,7 +767,7 @@ def pytest_report_header(
767
767
"""
768
768
769
769
770
- def pytest_report_collectionfinish (
770
+ def pytest_report_collectionfinish ( # type:ignore[empty-body]
771
771
config : "Config" ,
772
772
start_path : Path ,
773
773
startdir : "LEGACY_PATH" ,
@@ -800,7 +800,7 @@ def pytest_report_collectionfinish(
800
800
801
801
802
802
@hookspec (firstresult = True )
803
- def pytest_report_teststatus (
803
+ def pytest_report_teststatus ( # type:ignore[empty-body]
804
804
report : Union ["CollectReport" , "TestReport" ], config : "Config"
805
805
) -> Tuple [str , str , Union [str , Mapping [str , bool ]]]:
806
806
"""Return result-category, shortletter and verbose word for status
@@ -880,7 +880,9 @@ def pytest_warning_recorded(
880
880
# -------------------------------------------------------------------------
881
881
882
882
883
- def pytest_markeval_namespace (config : "Config" ) -> Dict [str , Any ]:
883
+ def pytest_markeval_namespace ( # type:ignore[empty-body]
884
+ config : "Config" ,
885
+ ) -> Dict [str , Any ]:
884
886
"""Called when constructing the globals dictionary used for
885
887
evaluating string conditions in xfail/skipif markers.
886
888
0 commit comments