chore: Enforce Mypy for non-tests (#15757)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2021-07-21 11:46:43 -07:00
committed by GitHub
parent d26254099e
commit ab4e3b9bf9
20 changed files with 134 additions and 74 deletions

View File

@@ -352,7 +352,7 @@ def _get_slice_data(
# Parse the csv file and generate HTML
columns = rows.pop(0)
with app.app_context(): # type: ignore
with app.app_context():
body = render_template(
"superset/reports/slice_data.html",
columns=columns,