Skip to content

Remove --py2 CLI flags#13270

Closed
sobolevn wants to merge 1 commit into
python:masterfrom
sobolevn:remove-py2--cli-flag
Closed

Remove --py2 CLI flags#13270
sobolevn wants to merge 1 commit into
python:masterfrom
sobolevn:remove-py2--cli-flag

Conversation

@sobolevn

Copy link
Copy Markdown
Member

Refs #12237

@github-actions

Copy link
Copy Markdown
Contributor

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

@hauntsaninja

Copy link
Copy Markdown
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

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

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