File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async def clear_redis(redis_url: str) -> None:
5050 await client .aclose () # type: ignore[attr-defined]
5151
5252
53- def pytest_addoption (parser ) :
53+ def pytest_addoption (parser : pytest . Parser ) -> None :
5454 parser .addoption (
5555 "--run-api-tests" ,
5656 action = "store_true" ,
@@ -59,13 +59,15 @@ def pytest_addoption(parser):
5959 )
6060
6161
62- def pytest_configure (config ) :
62+ def pytest_configure (config : pytest . Config ) -> None :
6363 config .addinivalue_line (
6464 "markers" , "requires_api_keys: mark test as requiring API keys"
6565 )
6666
6767
68- def pytest_collection_modifyitems (config , items ):
68+ def pytest_collection_modifyitems (
69+ config : pytest .Config , items : list [pytest .Item ]
70+ ) -> None :
6971 if config .getoption ("--run-api-tests" ):
7072 return
7173 skip_api = pytest .mark .skip (
You can’t perform that action at this time.
0 commit comments