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

Changes how errors are disabled in visit_comparison_expr #11451

Merged
merged 2 commits into from
Nov 4, 2021
Merged

Changes how errors are disabled in visit_comparison_expr #11451

merged 2 commits into from
Nov 4, 2021

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Nov 3, 2021

It now has a better API for that.

I've also changed self.check_method_call_by_name to use named args to make this call more readable.

@sobolevn
Copy link
Member Author

sobolevn commented Nov 3, 2021

Oh, I see. It is quite the opposite. It forces msg to enable errors.

I will add this as a method to MessageBuilder.

@github-actions

This comment has been minimized.

@sobolevn
Copy link
Member Author

sobolevn commented Nov 3, 2021

I am still not sure this is correct 🤔

@sobolevn
Copy link
Member Author

sobolevn commented Nov 3, 2021

Now I am sure that it is, it was old mypy_primer output which confused me 🙂

@JukkaL JukkaL merged commit 1f4e10e into python:master Nov 4, 2021
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
)

It now has a better API for that. Change `copy()` -> `clean_copy()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants