Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add rm_unneeded_f_str#642

Merged
asottile merged 1 commit into
pre-commit:masterpre-commit/pre-commit.com:masterfrom
dannysepler:add-rm-unneeded-f-strdannysepler/pre-commit.com:add-rm-unneeded-f-strCopy head branch name to clipboard
Mar 8, 2022
Merged

Add rm_unneeded_f_str#642
asottile merged 1 commit into
pre-commit:masterpre-commit/pre-commit.com:masterfrom
dannysepler:add-rm-unneeded-f-strdannysepler/pre-commit.com:add-rm-unneeded-f-strCopy head branch name to clipboard

Conversation

@dannysepler

Copy link
Copy Markdown
Contributor

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this needed given pyflakes (via flake8) has fstring is missing placeholders ?

Comment thread all-repos.yaml
- https://github.com/shssoichiro/oxipng
- https://github.com/datarootsio/databooks
- https://github.com/standard/standard
- https://github.com/dannysepler/rm_unneeded_f_str

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed, thanks!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks like you might also have to fix rf and fr strings -- glancing at the logic those might be broken

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch! fixed by dannysepler/rm_unneeded_f_str#8

@dannysepler

Copy link
Copy Markdown
Contributor Author

oh, i made this package because of that flake8 error (since autopep8 and autoflake both don't address it)

@asottile asottile force-pushed the add-rm-unneeded-f-str branch from f08ee5a to add70f7 Compare March 8, 2022 18:28
@asottile asottile force-pushed the add-rm-unneeded-f-str branch from add70f7 to f596fa3 Compare March 8, 2022 18:29

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@asottile asottile merged commit f7b5c54 into pre-commit:master Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.