Sourced from ruff's\r\nreleases.
\r\n\r\n\r\n0.5.6
\r\nRelease Notes
\r\nRuff 0.5.6 automatically enables linting and formatting of notebooks\r\nin preview mode.\r\nYou can opt-out of this behavior by adding
\r\n*.ipynb
to the\r\nextend-exclude
setting.\r\n[tool.ruff]\r\nextend-exclude = ["*.ipynb"]\r\n
Preview features
\r\n\r\n
\r\n- Enable notebooks by default in preview mode (#12621)
\r\n- [
\r\nflake8-builtins
] Implement import, lambda, and module\r\nshadowing (#12546)- [
\r\npydoclint
] Adddocstring-missing-returns
\r\n(DOC201
) anddocstring-extraneous-returns
\r\n(DOC202
) (#12485)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-return
] Exempt cached properties and other\r\nproperty-like decorators from explicit return rule (RET501
)\r\n(#12563)Server
\r\n\r\n
\r\n- Make server panic hook more error resilient (#12610)
\r\n- Use
\r\n$/logTrace
for server trace logs in Zed and VS Code\r\n(#12564)- Keep track of deleted cells for reorder change request (#12575)
\r\nConfiguration
\r\n\r\n
\r\n- [
\r\nflake8-implicit-str-concat
] Always allow explicit\r\nmulti-line concatenations when implicit concatenations are banned (#12532)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-async
] Avoid flagging\r\nasyncio.timeout
s as unused when the context manager\r\nincludesasyncio.TaskGroup
(#12605)- [
\r\nflake8-slots
] Avoid recommending\r\n__slots__
for classes that inherit from more than\r\nnamedtuple
(#12531)- [
\r\nisort
] Avoid marking required imports as unused (#12537)- [
\r\nisort
] Preserve trailing inline comments on\r\nimport-from statements (#12498)- [
\r\npycodestyle
] Add newlines before comments\r\n(E305
) (#12606)- [
\r\npycodestyle
] Don't attach comments with mismatched\r\nindents (#12604)- [
\r\npyflakes
] Fix preview-mode bugs inF401
\r\nwhen attempting to autofix unused first-party submodule imports in an\r\n__init__.py
file (#12569)- [
\r\npylint
] Respect start index in\r\nunnecessary-list-index-lookup
(#12603)- [
\r\npyupgrade
] Avoid recommending no-argument super in\r\nslots=True
dataclasses (#12530)- [
\r\npyupgrade
] Use colon rather than dot formatting for\r\ninteger-only types (#12534)- Fix NFKC normalization bug when removing unused imports (#12571)
\r\nOther changes
\r\n\r\n\r\n
... (truncated)
\r\nSourced from ruff's\r\nchangelog.
\r\n\r\n\r\n0.5.6
\r\nRuff 0.5.6 automatically enables linting and formatting of notebooks\r\nin preview mode.\r\nYou can opt-out of this behavior by adding
\r\n*.ipynb
to the\r\nextend-exclude
setting.\r\n[tool.ruff]\r\nextend-exclude = ["*.ipynb"]\r\n
Preview features
\r\n\r\n
\r\n- Enable notebooks by default in preview mode (#12621)
\r\n- [
\r\nflake8-builtins
] Implement import, lambda, and module\r\nshadowing (#12546)- [
\r\npydoclint
] Adddocstring-missing-returns
\r\n(DOC201
) anddocstring-extraneous-returns
\r\n(DOC202
) (#12485)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-return
] Exempt cached properties and other\r\nproperty-like decorators from explicit return rule (RET501
)\r\n(#12563)Server
\r\n\r\n
\r\n- Make server panic hook more error resilient (#12610)
\r\n- Use
\r\n$/logTrace
for server trace logs in Zed and VS Code\r\n(#12564)- Keep track of deleted cells for reorder change request (#12575)
\r\nConfiguration
\r\n\r\n
\r\n- [
\r\nflake8-implicit-str-concat
] Always allow explicit\r\nmulti-line concatenations when implicit concatenations are banned (#12532)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-async
] Avoid flagging\r\nasyncio.timeout
s as unused when the context manager\r\nincludesasyncio.TaskGroup
(#12605)- [
\r\nflake8-slots
] Avoid recommending\r\n__slots__
for classes that inherit from more than\r\nnamedtuple
(#12531)- [
\r\nisort
] Avoid marking required imports as unused (#12537)- [
\r\nisort
] Preserve trailing inline comments on\r\nimport-from statements (#12498)- [
\r\npycodestyle
] Add newlines before comments\r\n(E305
) (#12606)- [
\r\npycodestyle
] Don't attach comments with mismatched\r\nindents (#12604)- [
\r\npyflakes
] Fix preview-mode bugs inF401
\r\nwhen attempting to autofix unused first-party submodule imports in an\r\n__init__.py
file (#12569)- [
\r\npylint
] Respect start index in\r\nunnecessary-list-index-lookup
(#12603)- [
\r\npyupgrade
] Avoid recommending no-argument super in\r\nslots=True
dataclasses (#12530)- [
\r\npyupgrade
] Use colon rather than dot formatting for\r\ninteger-only types (#12534)- Fix NFKC normalization bug when removing unused imports (#12571)
\r\nOther changes
\r\n\r\n\r\n
... (truncated)
\r\nda824ba
\r\nRelease Ruff 0.5.6 (#12629)012198a
\r\nEnable notebooks by default in preview mode (#12621)fbab04f
\r\n[red-knot] Allow multiple site-packages
search paths (#12609)9aa43d5
\r\nSeparate red_knot
into CLI and\r\nred_knot_workspace
crates (#12623)966563c
\r\nAdd tests for hard and soft links (#12590)27edade
\r\nMake server panic hook more error resilient (#12610)2e2b1b4
\r\nFix a typo in docs/editors/settings.md
(#12614)a3e67ab
\r\nAdd newlines before comments in E305 (#12606)ee0518e
\r\n[red-knot] implement attribute of union (#12601)d774a3b
\r\nAvoid unused async when context manager includes TaskGroup
\r\n(#12605)Sourced from ruff's\r\nreleases.
\r\n\r\n\r\n0.5.4
\r\nRelease Notes
\r\nRule changes
\r\n\r\n
\r\n- [
\r\nruff
] RenameRUF007
to\r\nzip-instead-of-pairwise
(#12399)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-builtins
] Avoid shadowing diagnostics for\r\n@override
methods (#12415)- [
\r\nflake8-comprehensions
] Insert parentheses for\r\nmulti-argument generators (#12422)- [
\r\npydocstyle
] Handle escaped docstrings within docstring\r\n(D301
) (#12192)Documentation
\r\n\r\n
\r\n- Fix GitHub link to Neovim setup (#12410)
\r\n- Fix
\r\noutput-format
default in settings reference (#12409)Install ruff 0.5.4
\r\nInstall prebuilt binaries via shell script
\r\n\r\ncurl --proto '=https' --tlsv1.2 -LsSf\r\nhttps://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-installer.sh\r\n| sh\r\n
Install prebuilt binaries via powershell script
\r\n\r\npowershell -c "irm\r\nhttps://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-installer.ps1\r\n| iex"\r\n
Download ruff 0.5.4
\r\n
... (truncated)
\r\nSourced from ruff's\r\nchangelog.
\r\n\r\n\r\n0.5.4
\r\nRule changes
\r\n\r\n
\r\n- [
\r\nruff
] RenameRUF007
to\r\nzip-instead-of-pairwise
(#12399)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-builtins
] Avoid shadowing diagnostics for\r\n@override
methods (#12415)- [
\r\nflake8-comprehensions
] Insert parentheses for\r\nmulti-argument generators (#12422)- [
\r\npydocstyle
] Handle escaped docstrings within docstring\r\n(D301
) (#12192)Documentation
\r\n\r\n
53b84ab
\r\nCleanup redundant spaces from changelog (#12424)3664f85
\r\nBump version to v0.5.4 (#12423)2c1926b
\r\nInsert parentheses for multi-argument generators (#12422)4bcc96a
\r\nAvoid shadowing diagnostics for @override
methods (#12415)c0a2b49
\r\nFix the Github link error for Neovim in the setup for editors in the\r\ndocs. (#...ca22248
\r\nUpdate docs Settings output-format default (#12409)d8cf8ac
\r\n[red-knot] Resolve symbols from builtins.pyi
in the stdlib\r\nif they cannot b...1c7b840
\r\n[red-knot] fix incremental benchmark (#12400)f82bb67
\r\n[red-knot] trace file when inferring types (#12401)5f96f69
\r\n[red-knot] Fix bug where module resolution would not be invalidated if\r\nan ent...Sourced from ruff's\r\nreleases.
\r\n\r\n\r\n0.5.3
\r\nRelease Notes
\r\nRuff 0.5.3 marks the stable release of the Ruff language\r\nserver and introduces revamped documentation, including\r\nsetup guides for\r\nyour editor of choice and the language server\r\nitself.
\r\nPreview features
\r\n\r\n
\r\n- Formatter: Insert empty line between suite and alternative branch\r\nafter function/class definition (#12294)
\r\n- [
\r\npyupgrade
] Implement\r\nunnecessary-default-type-args
(UP043
) (#12371)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-bugbear
] Detect enumerate iterations in\r\nloop-iterator-mutation
(B909
) (#12366)- [
\r\nflake8-bugbear
] Removediscard
,\r\nremove
, andpop
allowance for\r\nloop-iterator-mutation
(B909
) (#12365)- [
\r\npylint
] Allow\r\nrepeated-equality-comparison
for mixed operations\r\n(PLR1714
) (#12369)- [
\r\npylint
] Ignoreself
andcls
\r\nwhen counting arguments (PLR0913
) (#12367)- [
\r\npylint
] Use UTF-8 as default encoding in\r\nunspecified-encoding
fix (PLW1514
) (#12370)Server
\r\n\r\n
\r\n- Build settings index in parallel for the native server (#12299)
\r\n- Use fallback settings when indexing the project (#12362)
\r\n- Consider
\r\n--preview
flag forserver
\r\nsubcommand for the linter and formatter (#12208)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-comprehensions
] Allow additional arguments for\r\nsum
andmax
comprehensions (C419
)\r\n(#12364)- [
\r\npylint
] Avoid dropping extra boolean operations in\r\nrepeated-equality-comparison
(PLR1714
) (#12368)- [
\r\npylint
] Consider expression before statement when\r\ndetermining binding kind (PLR1704
) (#12346)Documentation
\r\n\r\n
\r\n- Add docs for Ruff language server (#12344)
\r\n- Migrate to standalone docs repo (#12341)
\r\n- Update versioning policy for editor integration (#12375)
\r\nOther changes
\r\n\r\n
\r\n- Publish Wasm API to npm (#12317)
\r\nContributors
\r\n\r\n
\r\n\r\n- \r\n
@AlexWaygood
- \r\n
@MichaReiser
- \r\n
@cake-monotone
- \r\n
@carljm
- \r\n
@charliermarsh
- \r\n
@dhruvmanila
- \r\n
@github-actions
- \r\n
@konstin
- \r\n
@mattrunyon
... (truncated)
\r\nSourced from ruff's\r\nchangelog.
\r\n\r\n\r\n0.5.3
\r\nRuff 0.5.3 marks the stable release of the Ruff language\r\nserver and introduces revamped\r\ndocumentation,\r\nincluding setup\r\nguides for your editor of\r\nchoice and the language server\r\nitself.
\r\nPreview features
\r\n\r\n
\r\n- Formatter: Insert empty line between suite and alternative branch\r\nafter function/class definition (#12294)
\r\n- [
\r\npyupgrade
] Implement\r\nunnecessary-default-type-args
(UP043
) (#12371)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-bugbear
] Detect enumerate iterations in\r\nloop-iterator-mutation
(B909
) (#12366)- [
\r\nflake8-bugbear
] Removediscard
,\r\nremove
, andpop
allowance for\r\nloop-iterator-mutation
(B909
) (#12365)- [
\r\npylint
] Allow\r\nrepeated-equality-comparison
for mixed operations\r\n(PLR1714
) (#12369)- [
\r\npylint
] Ignoreself
andcls
\r\nwhen counting arguments (PLR0913
) (#12367)- [
\r\npylint
] Use UTF-8 as default encoding in\r\nunspecified-encoding
fix (PLW1514
) (#12370)Server
\r\n\r\n
\r\n- Build settings index in parallel for the native server (#12299)
\r\n- Use fallback settings when indexing the project (#12362)
\r\n- Consider
\r\n--preview
flag forserver
\r\nsubcommand for the linter and formatter (#12208)Bug fixes
\r\n\r\n
\r\n- [
\r\nflake8-comprehensions
] Allow additional arguments for\r\nsum
andmax
comprehensions (C419
)\r\n(#12364)- [
\r\npylint
] Avoid dropping extra boolean operations in\r\nrepeated-equality-comparison
(PLR1714
) (#12368)- [
\r\npylint
] Consider expression before statement when\r\ndetermining binding kind (PLR1704
) (#12346)Documentation
\r\n\r\n
\r\n- Add docs for Ruff language server (#12344)
\r\n- Migrate to standalone docs repo (#12341)
\r\n- Update versioning policy for editor integration (#12375)
\r\nOther changes
\r\n\r\n
\r\n- Publish Wasm API to npm (#12317)
\r\n
f0d589d
\r\nProvide custom job permissions to cargo-dist
(#12386)512c8b2
\r\nProvide contents read permission to wasm publish job (#12384)811f78d
\r\n[red-knot] small efficiency improvements and bugfixes to use-def map\r\nbuilding...8f1be31
\r\nUpdate 0.5.3 changelog caption (#12383)8cfbac7
\r\nBump version to 0.5.3 (#12381)9460857
\r\nMigrate to standalone docs repo (#12341)a028ca2
\r\nAdd VS Code specific extension settings (#12380)7953f6a
\r\nUpdate versioning policy for editor integration (#12375)764d9ab
\r\nAllow repeated-equality-comparison
for mixed operations (#12369)9b9d701
\r\nAllow additional arguments for sum and max comprehensions (#12364)