Skip to content

[mypyc] Use mypy.FORMAT_RE and ConversionSpecifier for % interpolatio… #101

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

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Jul 29, 2021

…n (python#10877)

mypy.checkstrformat offers regex and ConversionSpecifier for tokenizer, thus
this PR:

  • deletes the redundant code
  • uses ConversionSpecifier as FormatOp

Have you read the Contributing Guidelines?

(Once you have, delete this section. If you leave it in, your PR may be closed without action.)

Description

(Explain how this PR changes mypy.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

#10877)

mypy.checkstrformat offers regex and ConversionSpecifier for tokenizer, thus 
this PR:

* deletes the redundant code
* uses ConversionSpecifier as FormatOp
@sthagen sthagen merged commit 7c956f2 into sthagen:master Jul 29, 2021
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