-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
CI: Checking in f-strings we use {repr(...)} instead of {...!r} #30099
Conversation
@MomIsBestFriend I think all precursors are done (?) can you merge master? |
@WillAyd sorry for the delay, was on vacation. Do you have an idea on how to exclude patterns like |
You want to grep for "%r" but exclude "%%r" right? With regular grep you could do |
e43e3d1
to
9840103
Compare
That's an interesting way of doing it, the problem is that the return status is messing my head. because the Hope my way of thinking is good. |
9840103
to
0b207a8
Compare
@MomIsBestFriend pls rebase. did you figure out the grep issue? |
0b207a8
to
a980ecc
Compare
Yes, I am greping for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding those @MomIsBestFriend
The second rule looks ok, but I'm unsure about the first one.
093e93c
to
f1dfa20
Compare
Sorry for the short mess, messed something with the It's all good now, correct? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks @MomIsBestFriend
thanks @MomIsBestFriend |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Can merge only after merging:
STY: "{foo!r}" -> "{repr(foo)}" #batch-1 #29948
STY: "{foo!r}" -> "{repr(foo)}" #batch-2 #29950
STY: "{foo!r}" -> "{repr(foo)}" #batch-3 #29953
STY: "{foo!r}" -> "{repr(foo)}" #batch-4 #29959
STY: "{foo!r}" -> "{repr(foo)}" #batch-5 #29963