Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add --python-version flag #85

Merged
merged 2 commits into from
Oct 27, 2022
Merged

Add --python-version flag #85

merged 2 commits into from
Oct 27, 2022

Conversation

dosisod
Copy link
Owner

@dosisod dosisod commented Oct 27, 2022

This allows for specifying which version of Python you are using for your codebase. This should allow Mypy to do a better job of detecting what version of Python to use. In addition, in the future, checks will be able to grab the passed in version and give different error messages for the version to be used. For example, using type unions in certain areas (such as the second arg to isinstance()).

This allows for specifying which version of Python you are using for your
codebase. This should allow Mypy to do a better job of detecting what version
of Python to use. In addition, in the future, checks will be able to grab
the passed in version and give different error messages for the version to
be used. For example, using type unions in certain areas (such as the second
arg to `isinstance()`).
@dosisod dosisod merged commit 1824445 into master Oct 27, 2022
@dosisod dosisod deleted the python-flag branch October 27, 2022 03:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant