Skip to content

Missing f prefix on f-strings fix#22884

Closed
code-review-doctor wants to merge 1 commit intomatplotlib:mainfrom
code-review-doctor:fix-probably-meant-fstring
Closed

Missing f prefix on f-strings fix#22884
code-review-doctor wants to merge 1 commit intomatplotlib:mainfrom
code-review-doctor:fix-probably-meant-fstring

Conversation

@code-review-doctor
Copy link
Copy Markdown

Fixes #22882

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@tacaswell tacaswell added this to the v3.5.2 milestone Apr 24, 2022
@tacaswell
Copy link
Copy Markdown
Member

I have mixed feelings about PRs from bots (?) but this fix is correct and I see no reason not to take it.

@tacaswell
Copy link
Copy Markdown
Member

May be better to merge #22883 though.

Copy link
Copy Markdown
Member

@oscargus oscargus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we merge this for 3.5.2 and #22883 for 3.6.0?

(Feel free to merge once decided.)

@oscargus oscargus modified the milestones: v3.5.2, v3.6.0 Apr 24, 2022
@oscargus
Copy link
Copy Markdown
Member

The problem is not in 3.5.2 so I changed to 3.6 for this, which leads to closing this and merging #22883 instead.

@oscargus oscargus closed this Apr 24, 2022
@code-review-doctor
Copy link
Copy Markdown
Author

code-review-doctor commented Apr 24, 2022

@tacaswell I'm really a person that found a bug via a static analysis bot I wrote.

FWIW I checked 666 of the most popular python repos on GitHub and found 73 repos that had this issue. I then ran my script that auto-creates the issues in GitHub then auto-creates the PR to fix the issues. Half bot half human I guess :)

@tacaswell
Copy link
Copy Markdown
Member

@code-review-doctor Sorry, when I clicked through the profile I jumped to conclusions 🐑

This found a real bug and even though we fixed it differently, we appreciate the PR and hope to hear from you again!

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.

Missing f prefix on f-strings

3 participants