If there's no tests, data.info.get("tests") returns None, which it then can't add integration tests to, so changing it slightly.
Also, assuming that at some point someone's checked that info.data["name"] is valid, since info.data.get("name") possibly returns None, which made the type-checker sad.
If there's no tests,
data.info.get("tests")
returns None, which it then can't add integration tests to, so changing it slightly.Also, assuming that at some point someone's checked that
info.data["name"]
is valid, sinceinfo.data.get("name")
possibly returns None, which made the type-checker sad.