-
Notifications
You must be signed in to change notification settings - Fork 530
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: Enforce ruff rules #3690
base: master
Are you sure you want to change the base?
STY: Enforce ruff rules #3690
Commits on Nov 24, 2024
-
STY: Apply ruff/flake8-bugbear rule B007
B007 Loop control variable not used within loop body Co-authored-by: Chris Markiewicz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 014135c - Browse repository at this point
Copy the full SHA 014135cView commit details -
STY: Apply ruff/flake8-bugbear rule B015
B015 Pointless comparison at end of function scope. Did you mean to return the expression result?
Configuration menu - View commit details
-
Copy full SHA for 51f712d - Browse repository at this point
Copy the full SHA 51f712dView commit details -
STY: Apply ruff/flake8-bugbear rule B018
B018 Found useless expression. Either assign it to a variable or remove it.
Configuration menu - View commit details
-
Copy full SHA for c17bc9f - Browse repository at this point
Copy the full SHA c17bc9fView commit details -
Apply ruff/pycodestyle rule E741
E741 Ambiguous variable name
Configuration menu - View commit details
-
Copy full SHA for e3227a4 - Browse repository at this point
Copy the full SHA e3227a4View commit details -
STY: Apply ruff/refurb rule FURB154
FURB154 Use of repeated consecutive `global`
Configuration menu - View commit details
-
Copy full SHA for 121695e - Browse repository at this point
Copy the full SHA 121695eView commit details -
STY: Apply ruff/Pylint rule PLE0101
PLE0101 Explicit return in `__init__`
Configuration menu - View commit details
-
Copy full SHA for b429e2d - Browse repository at this point
Copy the full SHA b429e2dView commit details -
STY: Apply ruff/Pylint rule PLE1205
PLE1205 Too many arguments for `logging` format string
Configuration menu - View commit details
-
Copy full SHA for 00e19f4 - Browse repository at this point
Copy the full SHA 00e19f4View commit details -
STY: Apply ruff/flake8-pytest-style rule PT006
PT006 Wrong type passed to first argument of `@pytest.mark.parametrize`; expected `tuple`
Configuration menu - View commit details
-
Copy full SHA for f0b6d58 - Browse repository at this point
Copy the full SHA f0b6d58View commit details -
STY: Apply ruff/flake8-pytest-style rule PT007
PT007 Wrong values type in `@pytest.mark.parametrize` expected `list` of `tuple`
Configuration menu - View commit details
-
Copy full SHA for 990205b - Browse repository at this point
Copy the full SHA 990205bView commit details -
STY: Apply ruff/flake8-pytest-style rule PT014
PT014 Duplicate of test case in `@pytest_mark.parametrize`
Configuration menu - View commit details
-
Copy full SHA for b068cae - Browse repository at this point
Copy the full SHA b068caeView commit details -
STY: Apply ruff/flake8-quotes rule Q000
Q000 Single quotes found but double quotes preferred
Configuration menu - View commit details
-
Copy full SHA for 874b108 - Browse repository at this point
Copy the full SHA 874b108View commit details -
STY: Apply ruff/flake8-quotes rule Q003
Q003 Change outer quotes to avoid escaping inner quotes
Configuration menu - View commit details
-
Copy full SHA for 778ab94 - Browse repository at this point
Copy the full SHA 778ab94View commit details -
RUF100 Unused blanket `noqa` directive
Configuration menu - View commit details
-
Copy full SHA for 7b23137 - Browse repository at this point
Copy the full SHA 7b23137View commit details -
STY: Apply ruff/pyupgrade rule UP008
UP008 Use `super()` instead of `super(__class__, self)`
Configuration menu - View commit details
-
Copy full SHA for adf037f - Browse repository at this point
Copy the full SHA adf037fView commit details -
STY: Apply ruff/pyupgrade rule UP032
UP032 Use f-string instead of `format` call Co-authored-by: Chris Markiewicz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9ee512 - Browse repository at this point
Copy the full SHA c9ee512View commit details -
Disable some rules and postpone fixes.
Configuration menu - View commit details
-
Copy full SHA for effe909 - Browse repository at this point
Copy the full SHA effe909View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9f97ca - Browse repository at this point
Copy the full SHA a9f97caView commit details -
STY: Apply ruff/flake8-bugbear rule B010
B010 Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
Configuration menu - View commit details
-
Copy full SHA for ac68f1a - Browse repository at this point
Copy the full SHA ac68f1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd57d7a - Browse repository at this point
Copy the full SHA dd57d7aView commit details -
STY: Apply ruff/Pyflakes rule F522
F522 `.format` call has unused named argument
Configuration menu - View commit details
-
Copy full SHA for 45bc797 - Browse repository at this point
Copy the full SHA 45bc797View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a6ffd - Browse repository at this point
Copy the full SHA 92a6ffdView commit details -
RUF100 Unused blanket `noqa` directive RUF100 Unused `noqa` directive
Configuration menu - View commit details
-
Copy full SHA for 6d7277a - Browse repository at this point
Copy the full SHA 6d7277aView commit details -
Apply ruff/pyupgrade rule UP015
UP015 Unnecessary open mode parameters
Configuration menu - View commit details
-
Copy full SHA for 802475e - Browse repository at this point
Copy the full SHA 802475eView commit details -
Apply ruff/pyupgrade rule UP025
UP025 Remove unicode literals from strings
Configuration menu - View commit details
-
Copy full SHA for 8f84741 - Browse repository at this point
Copy the full SHA 8f84741View commit details