Sourced from ruff's\r\nreleases.
\r\n\r\n\r\n0.6.5
\r\nRelease Notes
\r\nPreview features
\r\n\r\n
\r\n- [
\r\npydoclint
] IgnoreDOC201
when function\r\nname is "new" (#13300)- [
\r\nrefurb
] Implement\r\nslice-to-remove-prefix-or-suffix
(FURB188
) (#13256)Rule changes
\r\n\r\n
\r\n- [
\r\neradicate
] Ignore script-comments with multiple\r\nend-tags (ERA001
) (#13283)- [
\r\npyflakes
] Improve error message for\r\nUndefinedName
when a builtin was added in a newer version\r\nthan specified in Ruff config (F821
) (#13293)Server
\r\n\r\n
\r\n- Add support for extensionless Python files for server (#13326)
\r\n- Fix configuration inheritance for configurations specified in the\r\nLSP settings (#13285)
\r\nBug fixes
\r\n\r\n
\r\n- [
\r\nruff
] Handle unary operators in\r\ndecimal-from-float-literal
(RUF032
) (#13275)CLI
\r\n\r\n
\r\n- Only include rules with diagnostics in SARIF metadata (#13268)
\r\nPlayground
\r\n\r\n
\r\n- Add "Copy as pyproject.toml/ruff.toml" and "Paste\r\nfrom TOML" (#13328)
\r\n- Fix errors not shown for restored snippet on page load (#13262)
\r\nContributors
\r\n\r\n
\r\n- \r\n
@AlexWaygood
- \r\n
@MichaReiser
- \r\n
@RussellLuo
- \r\n
@Slyces
- \r\n
@augustelalande
- \r\n
@calumy
- \r\n
@carljm
- \r\n
@dhruvmanila
- \r\n
@dizzy57
- \r\n
@dylwil3
- \r\n
@renovate
Install ruff 0.6.5
\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.6.5/ruff-installer.sh\r\n| sh\r\n</tr></table> \r\n
... (truncated)
\r\nSourced from ruff's\r\nchangelog.
\r\n\r\n\r\n0.6.5
\r\nPreview features
\r\n\r\n
\r\n- [
\r\npydoclint
] IgnoreDOC201
when function\r\nname is "new" (#13300)- [
\r\nrefurb
] Implement\r\nslice-to-remove-prefix-or-suffix
(FURB188
) (#13256)Rule changes
\r\n\r\n
\r\n- [
\r\neradicate
] Ignore script-comments with multiple\r\nend-tags (ERA001
) (#13283)- [
\r\npyflakes
] Improve error message for\r\nUndefinedName
when a builtin was added in a newer version\r\nthan specified in Ruff config (F821
) (#13293)Server
\r\n\r\n
\r\n- Add support for extensionless Python files for server (#13326)
\r\n- Fix configuration inheritance for configurations specified in the\r\nLSP settings (#13285)
\r\nBug fixes
\r\n\r\n
\r\n- [
\r\nruff
] Handle unary operators in\r\ndecimal-from-float-literal
(RUF032
) (#13275)CLI
\r\n\r\n
\r\n- Only include rules with diagnostics in SARIF metadata (#13268)
\r\nPlayground
\r\n\r\n
8558126
\r\nBump version to 0.6.5 (#13346)9bd9981
\r\nCreate insta snapshot for SARIF output (#13345)21bfab9
\r\nPlayground: Add Copy as pyproject.toml/ruff.toml and paste from TOML (#13328)43a5922
\r\n[red-knot] add BitSet::is_empty and BitSet::union (#13333)175d067
\r\n[red-knot] add initial Type::is_equivalent_to and Type::is_assignable_to\r\n(#13...4dc2c25
\r\n[red-knot] Fix type inference for except*
definitions (#13320)b72d49b
\r\nAdd support for extensionless Python files for server (#13326)eded78a
\r\n[pyupgrade
] Fix broken doc link and clarify that deprecated\r\naliases were re...a7b8cc0
\r\n[red-knot] Fix .to_instance()
for union types (#13319)b93d0ab
\r\n[red-knot] Add control flow for for
loops (#13318)Sourced from ruff's\r\nreleases.
\r\n\r\n\r\n0.6.4
\r\nRelease Notes
\r\nPreview features
\r\n\r\n
\r\n- [
\r\nflake8-builtins
] Use dynamic builtins list based on\r\nPython version (#13172)- [
\r\npydoclint
] Permit yieldingNone
in\r\nDOC402
andDOC403
(#13148)- [
\r\npylint
] Update diagnostic message for\r\nPLW3201
(#13194)- [
\r\nruff
] Implementpost-init-default
\r\n(RUF033
) (#13192)- [
\r\nruff
] Implement useless if-else (RUF034
)\r\n(#13218)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-pyi
] Respect\r\npep8_naming.classmethod-decorators
settings when\r\ndetermining if a method is a classmethod in\r\ncustom-type-var-return-type
(PYI019
) (#13162)- [
\r\nflake8-pyi
] Teach various rules that annotations might\r\nbe stringized (#12951)- [
\r\npylint
] Avoidno-self-use
for\r\nattrs
-style validators (#13166)- [
\r\npylint
] Recurse into subscript subexpressions when\r\nsearching for list/dict lookups (PLR1733
,\r\nPLR1736
) (#13186)- [
\r\npyupgrade
] Detectaiofiles.open
calls in\r\nUP015
(#13173)- [
\r\npyupgrade
] Marksys.version_info[0] <\r\n3
and similar comparisons as outdated (UP036
) (#13175)CLI
\r\n\r\n
\r\n- Enrich messages of SARIF results (#13180)
\r\n- Handle singular case for incompatible rules warning in
\r\nruff\r\nformat
output (#13212)Bug fixes
\r\n\r\n
\r\n- [
\r\npydocstyle
] Improve heuristics for detecting\r\nGoogle-style docstrings (#13142)- [
\r\nrefurb
] Treatsep
arguments with effects\r\nas unsafe removals (FURB105
) (#13165)Contributors
\r\n\r\n
\r\n- \r\n
@AlexWaygood
- \r\n
@Jinior
- \r\n
@MichaReiser
- \r\n
@RubenVanEldik
- \r\n
@RussellLuo
- \r\n
@Slyces
- \r\n
@carljm
- \r\n
@charliermarsh
- \r\n
@chriskrycho
- \r\n
@dhruvmanila
- \r\n
@dylwil3
- \r\n
@github-actions
- \r\n
@iamlucasvieira
- \r\n
@jamesbraza
- \r\n
@renovate
- \r\n
@tjkuson
- \r\n
@zhoufanjin
Install ruff 0.6.4
\r\n\r\n
... (truncated)
\r\nSourced from ruff's\r\nchangelog.
\r\n\r\n\r\n0.6.4
\r\nPreview features
\r\n\r\n
\r\n- [
\r\nflake8-builtins
] Use dynamic builtins list based on\r\nPython version (#13172)- [
\r\npydoclint
] Permit yieldingNone
in\r\nDOC402
andDOC403
(#13148)- [
\r\npylint
] Update diagnostic message for\r\nPLW3201
(#13194)- [
\r\nruff
] Implementpost-init-default
\r\n(RUF033
) (#13192)- [
\r\nruff
] Implement useless if-else (RUF034
)\r\n(#13218)Rule changes
\r\n\r\n
\r\n- [
\r\nflake8-pyi
] Respect\r\npep8_naming.classmethod-decorators
settings when\r\ndetermining if a method is a classmethod in\r\ncustom-type-var-return-type
(PYI019
) (#13162)- [
\r\nflake8-pyi
] Teach various rules that annotations might\r\nbe stringized (#12951)- [
\r\npylint
] Avoidno-self-use
for\r\nattrs
-style validators (#13166)- [
\r\npylint
] Recurse into subscript subexpressions when\r\nsearching for list/dict lookups (PLR1733
,\r\nPLR1736
) (#13186)- [
\r\npyupgrade
] Detectaiofiles.open
calls in\r\nUP015
(#13173)- [
\r\npyupgrade
] Marksys.version_info[0] <\r\n3
and similar comparisons as outdated (UP036
) (#13175)CLI
\r\n\r\n
\r\n- Enrich messages of SARIF results (#13180)
\r\n- Handle singular case for incompatible rules warning in
\r\nruff\r\nformat
output (#13212)Bug fixes
\r\n\r\n
65cc6ec
\r\nBump version to 0.6.4 (#13253)66fe226
\r\n[red-knot] fix lookup of nonlocal names in deferred annotations (#13236)e965f9c
\r\n[red-knot] Infer Unknown
for the loop var in async\r\nfor
loops (#13243)0512428
\r\n[red-knot] Emit a diagnostic if the value of a starred expression or a\r\n`yield...46a4573
\r\n[red-knot] Add type inference for basic for
loops (#13195)5728909
\r\nMake mypy pass on black in knot_benchmark
(#13235)9d1bd7a
\r\n[pylint] removed dunder methods in Python 3 (PLW3201) (#13194)e37bde4
\r\n[ruff] implement useless if-else (RUF034) (#13218)862bd0c
\r\n[red-knot] Add debug assert to check for duplicate definitions (#13214)e1e9143
\r\n[red-knot] Handle multiple comprehension targets (#13213)Sourced from black's\r\nreleases.
\r\n\r\n\r\n24.8.0
\r\nStable style
\r\n\r\n
\r\n- Fix crash when
\r\n# fmt: off
is used before a closing\r\nparenthesis or bracket. (#4363)Packaging
\r\n\r\n
\r\n- Packaging metadata updated: docs are explictly linked, the issue\r\ntracker is now also\r\nlinked. This improves the PyPI listing for Black. (#4345)
\r\nParser
\r\n\r\n
\r\n- Fix regression where Black failed to parse a multiline f-string\r\ncontaining another\r\nmultiline string (#4339)
\r\n- Fix regression where Black failed to parse an escaped single quote\r\ninside an f-string\r\n(#4401)
\r\n- Fix bug with Black incorrectly parsing empty lines with a backslash\r\n(#4343)
\r\n- Fix bugs with Black's tokenizer not handling
\r\n\\{
inside\r\nf-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens\r\nwithin f-strings\r\n(#4423)
\r\nPerformance
\r\n\r\n
\r\n- Improve performance when a large directory is listed in\r\n
\r\n.gitignore
(#4415)Blackd
\r\n\r\n
\r\n- Fix blackd (and all extras installs) for docker container (#4357)
\r\n
Sourced from black's\r\nchangelog.
\r\n\r\n\r\n24.8.0
\r\nStable style
\r\n\r\n
\r\n- Fix crash when
\r\n# fmt: off
is used before a closing\r\nparenthesis or bracket. (#4363)Packaging
\r\n\r\n
\r\n- Packaging metadata updated: docs are explictly linked, the issue\r\ntracker is now also\r\nlinked. This improves the PyPI listing for Black. (#4345)
\r\nParser
\r\n\r\n
\r\n- Fix regression where Black failed to parse a multiline f-string\r\ncontaining another\r\nmultiline string (#4339)
\r\n- Fix regression where Black failed to parse an escaped single quote\r\ninside an f-string\r\n(#4401)
\r\n- Fix bug with Black incorrectly parsing empty lines with a backslash\r\n(#4343)
\r\n- Fix bugs with Black's tokenizer not handling
\r\n\\{
inside\r\nf-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens\r\nwithin f-strings\r\n(#4423)
\r\nPerformance
\r\n\r\n
\r\n- Improve performance when a large directory is listed in\r\n
\r\n.gitignore
(#4415)Blackd
\r\n\r\n
\r\n- Fix blackd (and all extras installs) for docker container (#4357)
\r\n
b965c2a
\r\nPrepare release 24.8.0 (#4426)9ccf279
\r\nDocument find_project_root
ignoring\r\npyproject.toml
without [tool.black]
...14b6e61
\r\nfix: Enhace black efficiently to skip directories listed in .gitignore\r\n(#4415)b1c4dd9
\r\nfix: respect braces better in f-string parsing (#4422)4b4ae43
\r\nFix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
\r\ndocs: fix the installation command of extra for blackd (#4413)8827acc
\r\nBump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
\r\nBump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
\r\nfix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
\r\nUpdate actions/checkout
to v4 to stop node deprecation\r\nwarnings (#4379)