Skip to content

work around mypy/typeshed issue with flask

Dan Crosta requested to merge make-mypy-happy into master

a recent change to typeshed typing for Flask changed the return type of render_template from Any (implicitly, it was undefined) to Text (which is correct, render_template doesn't return a Response); this caused CI to fail, since we update mypy & typeshed each run

this can be reverted when a fix for https://github.com/python/mypy/issues/7187 is available

Merge request reports