File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed
Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ adheres to [Semantic Versioning](https://semver.org/).
1111
1212### :house : Internal
1313
14- - Necessary code changes following dev dependency update: black
14+ - Necessary code changes following dev dependency update: black, pytest
1515- Refactor a descriptor following PEP 487
1616- Add tests for CPython 3.11
1717- Use CPython 3.11 for misc. tests
Original file line number Diff line number Diff line change 11from itertools import chain , product
22from pathlib import Path
3- from typing import TYPE_CHECKING , Callable , Iterator , Tuple
3+ from typing import Callable , Iterator , List , Tuple
44
55import pytest
66
7- if TYPE_CHECKING :
8- from typing import List
97
10- # see https://github.com/pytest-dev/pytest/issues/7469
11- # for pytest exporting from pytest and not _pytest
12- from _pytest .config import Config
13- from _pytest .config .argparsing import Parser
14- from _pytest .nodes import Item
15-
16-
17- def pytest_addoption (parser : "Parser" ) -> None :
8+ def pytest_addoption (parser : pytest .Parser ) -> None :
189 parser .addoption (
1910 "--generate-integration-files" ,
2011 action = "store_true" ,
@@ -23,7 +14,9 @@ def pytest_addoption(parser: "Parser") -> None:
2314 )
2415
2516
26- def pytest_collection_modifyitems (config : "Config" , items : "List[Item]" ) -> None :
17+ def pytest_collection_modifyitems (
18+ config : pytest .Config , items : List [pytest .Item ]
19+ ) -> None :
2720 root = Path (__file__ ).parent .parent
2821 for item in items :
2922 if item .fspath :
You can’t perform that action at this time.
0 commit comments