-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: Old string formatting: .format() -> f #30408
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
Conversation
85dc336
to
eecf5a7
Compare
eecf5a7
to
ae7f902
Compare
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.
Looks good, a single issue.
root=root, dirname=dirname, parentdir_prefix=parentdir_prefix | ||
) | ||
f"""guessing rootdir is '{root}', but '{dirname}' | ||
doesn't start with prefix '{parentdir_prefix}'""" |
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.
don't use triple-quoted strings, it's not the same as two single-quoted strings.
Hmm I think this file is autogenerated as per @jbrockmendel comments here #29518 (comment) |
yeah we can leave this one alone, do we have a check for .format usage in checks? (prob not yet) |
Not yet there are still 200+ files to tackle. If we want to add a check now we can do - and users remove the file from exclude list once done? |
grepping for |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff