Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove --py2 CLI flags #13270

Closed
wants to merge 1 commit into from
Closed

Conversation

sobolevn
Copy link
Member

Refs #12237

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@hauntsaninja
Copy link
Collaborator

Similar to #13269, current users of this flag should get the nice error from

mypy/mypy/main.py

Line 1203 in 6648199

if options.python_version < (3,):
if they pass -2 or --py2 in the next few releases

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It's been long enough since we dropped support that this makes sense. Closing in favour of the unconflicted #15670

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants