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.
Created with
brew bump-formula-pr
.release notes
format.quote-style
no longer affects triple-quoted strings, to align with common conventions as well as the guidance from PEP 8 and PEP 257 (see: Always prefer double quotes for docstrings and triple-quoted srings astral-sh/ruff#7680).unnecessary-pass
(PIE790
) now flags all unnecessarypass
statements; previously, the rule only flaggedpass
statements that followed a docstring in a two-statement body (see: Extendunnecessary-pass
(PIE790
) to trigger on all unnecessarypass
statements astral-sh/ruff#7697).Rules
refurb
] Implementprint-empty-string
(FURB105
) by @tjkuson in [refurb
] Implementprint-empty-string
(FURB105
) astral-sh/ruff#7617flake8-bandit
] Implementweak-cryptographic-key
(S505
) by @mkniewallner in feat(rules): implementflake8-bandit
S505
astral-sh/ruff#7703refurb
] Implementimplicit-cwd
(FURB177) by @danparizher in [refurb
] Implementimplicit-cwd
(FURB177) astral-sh/ruff#7704Settings
lint
section to Ruff configuration by @MichaReiser in Addlint
section to Ruff configuration astral-sh/ruff#7549explicit-preview-rules
to toggle explicit selection of preview rules by @zanieb in Addexplicit-preview-rules
to toggle explicit selection of preview rules astral-sh/ruff#7390stdout
by @charliermarsh in Write full Jupyter notebook tostdout
astral-sh/ruff#7748unnecessary-pass
(PIE790
) to trigger on all unnecessarypass
statements by @tjkuson in Extendunnecessary-pass
(PIE790
) to trigger on all unnecessarypass
statements astral-sh/ruff#7697Bug Fixes
PT022
autofix by @dhruvmanila in Update return type forPT022
autofix astral-sh/ruff#7613builtin.open()
withPath.open()
if the latter doesn't support all options by @konstin in Don't suggest replacingbuiltin.open()
withPath.open()
if the latter doesn't support all options astral-sh/ruff#7637Expr::Name
checks to rules which useis_logger_candidate
by @qdegraaf in AddExpr::Name
checks to rules which useis_logger_candidate
astral-sh/ruff#7521__all__
assignments by @charliermarsh in Allow named expressions in__all__
assignments astral-sh/ruff#7673commented-out-code
by @tjkuson in Ignore TODO tags incommented-out-code
astral-sh/ruff#7523unnecessary-pass
by @charliermarsh in Track fix isolation inunnecessary-pass
astral-sh/ruff#7715quadratic-list-summation
by @charliermarsh in Preserve parentheses inquadratic-list-summation
astral-sh/ruff#7719NotebookIndex
forDiagnostics
on stdin by @dhruvmanila in ComputeNotebookIndex
forDiagnostics
on stdin astral-sh/ruff#7663LexError
for dedent to incorrect level by @MichaReiser in EmitLexError
for dedent to incorrect level astral-sh/ruff#7638DeprecatedLogWarn
to check forExpr::Atrribute
calls by @qdegraaf in ExpandDeprecatedLogWarn
to check forExpr::Atrribute
calls astral-sh/ruff#7677Other Changes
commented-out-code
(~50-80%) by @charliermarsh in Improve performance ofcommented-out-code
(~50-80%) astral-sh/ruff#7706New Contributors
Settings
struct astral-sh/ruff#7665refurb
] Implementimplicit-cwd
(FURB177) astral-sh/ruff#7704Full Changelog: astral-sh/ruff@v0.0.291...v0.0.292