mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-25 20:44:03 -05:00
[PR #2196] [CLOSED] Add refurb. #1703
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2196
Author: @jdevera
Created: 10/3/2022
Status: ❌ Closed
Base:
master← Head:add_refurb📝 Commits (1)
e999f34Add refurb.📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
Refurb is a code checker that uses pattern matching on abstract syntax trees to find patterns in the code and suggest improvements that make the code more readable and/or modern.
I started using it, and it suggested I replace:
with:
And got me hooked.
What's the difference between this Python project and similar ones?
This project covers the code once it is correct, so it's compatible with other tools such as format checkers, style checkers, linters, type checkers. This will suggest modern approaches to frequently written patterns that are less readable than the suggested alternatives.
I am not aware of other tools in this space.
--
Anyone who agrees with this pull request could submit an Approve review to it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.