Skip to content

Type check glcollate/expectations/process.py

ExpectationsFiles.fails, ExpectationsFiles.flakes and ExpectationsFiles.skips can be None therefore add checks that by the time function tries to access them they are no longer None.

expectation_changes is the dict[str, set[str]] type. See CollateJob.defaultdict attribute.

Depends on !70 (merged) & !74 (merged) & !75 (merged)

Edited by Sergi Blanch Torné

Merge request reports

Loading