Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Bump up Mypy to 0.900 #15

Merged
merged 4 commits into from
Jun 9, 2021
Merged

Bump up Mypy to 0.900 #15

merged 4 commits into from
Jun 9, 2021

Conversation

Sinclert
Copy link
Member

@Sinclert Sinclert commented Jun 9, 2021

This PR bumps up versions of:

Clarifications:

Starting on mypy version 0.900, we would need to install Flask as an additional dependency to the pre-commit hook.

The reason for this is that, until now, we did not really needed to install it, as mypy included some third-party stubs from the python/typeshed repository (reference), being Flask v1.X among them. With the release of Flask v2.X, those included stubs are deprecated, and will not be updated anymore (reference), making Flask v2.X stubs unavailable for out-of-the-box mypy.

@Sinclert Sinclert added the enhancement New feature or request label Jun 9, 2021
@Sinclert Sinclert self-assigned this Jun 9, 2021
@Sinclert Sinclert merged commit 436b886 into main Jun 9, 2021
@Sinclert Sinclert deleted the mypy-0.900 branch June 9, 2021 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant