Add `flask` to mypy pre-commit dependencies
`flask` is needed in order to see that `flask.abort` is a `NoReturn`
function. Without this, mypy incorrectly deduces that the flaskparser
`abort` function has an implicit `return None`.
@@ -30,7 +30,10 @@ repos:
- id: mypy
language_version: python3
files: ^src/webargs/
- additional_dependencies: ["marshmallow>=3,<4", "packaging"]
+ additional_dependencies:
+ - marshmallow>=3,<4
+ - packaging
+ - flask
# mypy runs under tox in GitHub Actions, skip it in pre-commit.ci
