We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In #1488, we added some infra to rewrite mock imports. But the problem is quite general. We've done similar stuff for six imports.
mock
six
You can see how pyupgrade handles this problem.
We should at least implement the REPLACE_EXACT logic since (I think?) that's what we have for mock.
REPLACE_EXACT
The text was updated successfully, but these errors were encountered:
I need to look at where else this would be useful.
Sorry, something went wrong.
This is largely handled by #2049.
Does it support adding a new import?
No, but that's tracked in #835.
No branches or pull requests
In #1488, we added some infra to rewrite
mock
imports. But the problem is quite general. We've done similar stuff forsix
imports.You can see how pyupgrade handles this problem.
We should at least implement the
REPLACE_EXACT
logic since (I think?) that's what we have formock
.The text was updated successfully, but these errors were encountered: