python
python copied to clipboard
chore(deps): update dependency ruff to v0.6.9
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ruff (source, changelog) | 0.6.4 -> 0.6.9 |
Release Notes
astral-sh/ruff (ruff)
v0.6.9
Preview features
- Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
- [
refurb] MarkFURB118fix as unsafe (#13613)
Rule changes
- [
pydocstyle] Don't raiseD208when last line is non-empty (#13372) - [
pylint] Preserve trivia (i.e. comments) inPLR5501autofix (#13573)
Configuration
- [
pyflakes] Addallow-unused-importssetting forunused-importrule (F401) (#13601)
Bug fixes
- Support ruff discovery in pip build environments (#13591)
- [
flake8-bugbear] Avoid short circuitingB017for multiple context managers (#13609) - [
pylint] Do not offer an invalid fix forPLR1716when the comparisons contain parenthesis (#13527) - [
pyupgrade] FixUP043to apply tocollections.abc.Generatorandcollections.abc.AsyncGenerator(#13611) - [
refurb] Fix handling of slices in tuples forFURB118, e.g.,x[:, 1](#13518)
Documentation
- Update GitHub Action link to
astral-sh/ruff-action(#13551)
v0.6.8
Preview features
- Remove unnecessary parentheses around
match caseclauses (#13510) - Parenthesize overlong
ifguards inmatch..caseclauses (#13513) - Detect basic wildcard imports in
ruff analyze graph(#13486) - [
pylint] Implementboolean-chained-comparison(R1716) (#13435)
Rule changes
- [
lake8-simplify] DetectSIM910when using variadic keyword arguments, i.e.,**kwargs(#13503) - [
pyupgrade] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028) (#13504)
Bug fixes
- Detect tuples bound to variadic positional arguments i.e.
*args(#13512) - Exit gracefully on broken pipe errors (#13485)
- Avoid panic when analyze graph hits broken pipe (#13484)
Performance
v0.6.7
Preview features
- Add Python version support to ruff analyze CLI (#13426)
- Add
excludesupport toruff analyze(#13425) - Fix parentheses around return type annotations (#13381)
Rule changes
- [
pycodestyle] Fix: Don't autofix if the first line ends in a question mark? (D400) (#13399)
Bug fixes
- Respect
lint.excludein ruff check--add-noqa(#13427)
Performance
- Avoid tracking module resolver files in Salsa (#13437)
- Use
forgetfor module resolver database (#13438)
v0.6.6
Preview features
- [
refurb] Skipslice-to-remove-prefix-or-suffix(FURB188) when non-trivial slice steps are present (#13405) - Add a subcommand to generate dependency graphs (#13402)
Formatter
- Fix placement of inline parameter comments (#13379)
Server
- Fix off-by one error in the
LineIndex::offsetcalculation (#13407)
Bug fixes
- [
fastapi] Respect FastAPI aliases in route definitions (#13394) - [
pydocstyle] Respect word boundaries when detecting function signature in docs (#13388)
Documentation
- Add backlinks to rule overview linter (#13368)
- Fix documentation for editor vim plugin ALE (#13348)
- Fix rendering of
FURB188docs (#13406)
v0.6.5
Preview features
- [
pydoclint] IgnoreDOC201when function name is "new" (#13300) - [
refurb] Implementslice-to-remove-prefix-or-suffix(FURB188) (#13256)
Rule changes
- [
eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283) - [
pyflakes] Improve error message forUndefinedNamewhen a builtin was added in a newer version than specified in Ruff config (F821) (#13293)
Server
- Add support for extensionless Python files for server (#13326)
- Fix configuration inheritance for configurations specified in the LSP settings (#13285)
Bug fixes
- [
ruff] Handle unary operators indecimal-from-float-literal(RUF032) (#13275)
CLI
- Only include rules with diagnostics in SARIF metadata (#13268)
Playground
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.