-
Notifications
You must be signed in to change notification settings - Fork 258
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
STY: Apply ruff preview rules #1369
Commits on Oct 1, 2024
-
STY: Apply ruff/pyupgrade preview rule UP031
UP031 Use format specifiers instead of percent format Co-authored-by: Chris Markiewicz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f28bc8 - Browse repository at this point
Copy the full SHA 9f28bc8View commit details -
MNT: Python 3 string formatting: %i → %d
Co-authored-by: Chris Markiewicz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95cc728 - Browse repository at this point
Copy the full SHA 95cc728View commit details -
STY: Apply ruff/refurb preview rule FURB145
FURB145 Prefer `copy` method over slicing
Configuration menu - View commit details
-
Copy full SHA for 5daffcc - Browse repository at this point
Copy the full SHA 5daffccView commit details -
STY: Apply ruff/refurb preview rule FURB148
FURB148 `enumerate` index is unused, use `for x in y` instead
Configuration menu - View commit details
-
Copy full SHA for 4810cd7 - Browse repository at this point
Copy the full SHA 4810cd7View commit details -
STY: Apply ruff/refurb preview rule FURB157
FURB157 Verbose expression in `Decimal` constructor
Configuration menu - View commit details
-
Copy full SHA for 02b7b0e - Browse repository at this point
Copy the full SHA 02b7b0eView commit details -
STY: Apply ruff/refurb preview rule FURB192
FURB192 Prefer `min` over `sorted()` to compute the minimum value in a sequence
Configuration menu - View commit details
-
Copy full SHA for 8c2a501 - Browse repository at this point
Copy the full SHA 8c2a501View commit details -
STY: Apply ruff/flake8-comprehensions preview rule C409
C409 Unnecessary list comprehension passed to `tuple()` (rewrite as a generator)
Configuration menu - View commit details
-
Copy full SHA for 73bae7e - Browse repository at this point
Copy the full SHA 73bae7eView commit details -
STY: Apply ruff/flake8-comprehensions preview rule C419
C419 Unnecessary list comprehension
Configuration menu - View commit details
-
Copy full SHA for b33bcde - Browse repository at this point
Copy the full SHA b33bcdeView commit details
Commits on Oct 2, 2024
-
MNT: better way to normalize sequences to lists and flatten
Co-authored-by: Chris Markiewicz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec15839 - Browse repository at this point
Copy the full SHA ec15839View commit details