Add None return type to init (#132335)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/132335
Approved by: https://github.com/albanD
This commit is contained in:
Oguz Ulgen
2024-08-01 00:22:47 -07:00
committed by PyTorch MergeBot
parent 30d7f0b15a
commit 72d2dba992
130 changed files with 295 additions and 295 deletions

View File

@ -1092,7 +1092,7 @@ def sanitize_pytest_xml(xml_file: str):
def get_pytest_test_cases(argv: List[str]) -> List[str]:
class TestCollectorPlugin:
def __init__(self):
def __init__(self) -> None:
self.tests = []
def pytest_collection_finish(self, session):