-
Notifications
You must be signed in to change notification settings - Fork 529
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/flake8-simplify rules (SIM) #3676
base: master
Are you sure you want to change the base?
Commits on Sep 22, 2024
-
STY: Apply ruff/flake8-simplify rule SIM101
SIM101 Multiple `isinstance` calls for expression, merge into a single call
Configuration menu - View commit details
-
Copy full SHA for c6b5665 - Browse repository at this point
Copy the full SHA c6b5665View commit details -
STY: Apply ruff/flake8-simplify rule SIM103
SIM103 Return the condition directly
Configuration menu - View commit details
-
Copy full SHA for f1761f2 - Browse repository at this point
Copy the full SHA f1761f2View commit details -
STY: Apply ruff/flake8-simplify rule SIM113
SIM113 Use `enumerate()` for index variable in `for` loop
Configuration menu - View commit details
-
Copy full SHA for 33ae2ad - Browse repository at this point
Copy the full SHA 33ae2adView commit details -
STY: Apply ruff/flake8-simplify rule SIM115
SIM115 Use a context manager for opening files
Configuration menu - View commit details
-
Copy full SHA for 75230f7 - Browse repository at this point
Copy the full SHA 75230f7View commit details -
STY: Apply ruff/flake8-simplify rule SIM118
SIM118 Use `key in dict` instead of `key in dict.keys()`
Configuration menu - View commit details
-
Copy full SHA for 4b1d85b - Browse repository at this point
Copy the full SHA 4b1d85bView commit details -
STY: Apply ruff/flake8-simplify rule SIM201
SIM201 Use `... != ...` instead of `not ... == ...`
Configuration menu - View commit details
-
Copy full SHA for 1523d04 - Browse repository at this point
Copy the full SHA 1523d04View commit details -
STY: Apply ruff/flake8-simplify rule SIM401
SIM401 Use `.get()` instead of an `if` block
Configuration menu - View commit details
-
Copy full SHA for 6542864 - Browse repository at this point
Copy the full SHA 6542864View commit details