Closed Thom1729 closed 3 years ago
getdoc can return None, so even though we can be sure it won't, MyPy wants explicit reassurance.
getdoc
None
MyPy is also reporting a number of errors related to the vendored enum module. Not sure how to fix that yet. See https://stackoverflow.com/questions/66282719/ignore-mypy-is-not-valid-as-a-type-error
getdoc
can returnNone
, so even though we can be sure it won't, MyPy wants explicit reassurance.MyPy is also reporting a number of errors related to the vendored enum module. Not sure how to fix that yet. See https://stackoverflow.com/questions/66282719/ignore-mypy-is-not-valid-as-a-type-error