[pycodestyle] Adapt fix for E203 to work identical to ruff format (#10999)
Formatter
Fix formatter instability for lines only consisting of zero-width characters (#11748)
Server
Add supported commands in server capabilities (#11850)
Use real file path when available in ruff server (#11800)
Improve error message when a command is run on an unavailable document (#11823)
Introduce the ruff.printDebugInformation command (#11831)
Tracing system now respects log level and trace level, with options to log to a file (#11747)
CLI
Handle non-printable characters in diff view (#11687)
Bug fixes
[refurb] Avoid suggesting starmap when arguments are used outside call (FURB140) (#11830)
[flake8-bugbear] Avoid panic in B909 when checking large loop blocks (#11772)
[refurb] Fix misbehavior of operator.itemgetter when getter param is a tuple (FURB118) (#11774)
0.4.8
Performance
Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ruff from 0.3.5 to 0.4.9.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
4f49e91
Bump version to v0.4.9 (#11872)d681a45
Makeruff_db
a required crate forruff_python_semantic
(#11874)89bb07c
UPDATE latest supported versions to 3.13 (#11870)fe462b3
Update Python compatibility to 3.13 (#11861)c5bc368
[red-knot] ImproveVfs
andFileSystem
documentation (#11856)73370fe
Usestarts_with('/')
instead ofis_absolute
to avoid platform specific AP...22b6488
red-knot: Add directory support toMemoryFileSystem
(#11825)d4dd96d
red-knot:source_text
,line_index
, andparsed_module
queries (#11822)efbf7b1
red-knot[salsa part 2]: Setup semantic DB and Jar (#11837)9dc226b
Add supported commands in server capabilities (#11850)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show