-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enforce ruff/refurb rules (FURB) #4386
Open
DimitriPapadopoulos
wants to merge
8
commits into
pypa:main
Choose a base branch
from
DimitriPapadopoulos:FURB
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DimitriPapadopoulos
force-pushed
the
FURB
branch
4 times, most recently
from
June 28, 2024 17:30
39e788a
to
c6d0727
Compare
DimitriPapadopoulos
force-pushed
the
FURB
branch
from
June 28, 2024 17:52
7aae70f
to
15952e9
Compare
DimitriPapadopoulos
changed the title
Enforce ruff/refurb rules
Enforce ruff/refurb rules (FURB)
Jun 28, 2024
DimitriPapadopoulos
force-pushed
the
FURB
branch
2 times, most recently
from
August 3, 2024 20:40
44c33c5
to
6b2b9ac
Compare
DimitriPapadopoulos
force-pushed
the
FURB
branch
2 times, most recently
from
August 18, 2024 14:57
a563475
to
3477d01
Compare
Looks like you're missing imports for |
DimitriPapadopoulos
force-pushed
the
FURB
branch
from
August 19, 2024 09:24
3477d01
to
ac0302c
Compare
I think I mistakenly removed the |
DimitriPapadopoulos
force-pushed
the
FURB
branch
3 times, most recently
from
August 19, 2024 13:01
e15d1e9
to
e117139
Compare
DimitriPapadopoulos
force-pushed
the
FURB
branch
2 times, most recently
from
September 10, 2024 10:22
80f3b0d
to
b03c668
Compare
DimitriPapadopoulos
force-pushed
the
FURB
branch
from
September 15, 2024 17:01
b03c668
to
7fa561c
Compare
DimitriPapadopoulos
force-pushed
the
FURB
branch
from
September 29, 2024 11:48
7fa561c
to
82c0acc
Compare
FURB110 Replace ternary `if` expression with `or` operator
FURB118 Use `operator.itemgetter(0)` instead of defining a lambda
FURB142 Use of `set.add()` in a for loop
FURB167 Use of regular expression alias `re.I` FURB167 Use of regular expression alias `re.M` FURB167 Use of regular expression alias `re.S` FURB167 Use of regular expression alias `re.X`
FURB192 Prefer `max` over `sorted()` to compute the maximum value in a sequence
DimitriPapadopoulos
force-pushed
the
FURB
branch
from
October 31, 2024 20:59
82c0acc
to
9ddb5e8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
Enforce ruff/refurb rules (
FURB
).Follow-up of #4172.
Pull Request Checklist
newsfragments/
.(See documentation for details)