Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mypy rightly complains our types do not match (this only happen if you enable type checks for securesystemslib): * I think the annotation is actually wrong: Envelope does not know the contained type at this point. * Likely SimpleEnvelope should not be generic: it does not relly know what it contains I decided not to break the API here and just made the type cast explicit (even though we don't really know that the cast is correct): this silences mypy but has no other consequences. Signed-off-by: Jussi Kukkonen <[email protected]>
- Loading branch information