Sourced from ruff's releases.
0.8.6
Release Notes
Preview features
- [
format
]: Preserve multiline implicit concatenated strings in docstring positions (#15126)- [
ruff
] Add rule to detect empty literal in deque call (RUF025
) (#15104)- [
ruff
] Avoid reporting whenndigits
is possibly negative (RUF057
) (#15234)Rule changes
- [
flake8-todos
] remove issue code length restriction (TD003
) (#15175)- [
pyflakes
] Ignore errors in@no_type_check
string annotations (F722
,F821
) (#15215)CLI
- Show errors for attempted fixes only when passed
--verbose
(#15237)Bug fixes
- [
ruff
] Avoid syntax error when removing int over multiple lines (RUF046
) (#15230)- [
pyupgrade
] Revert "Add all PEP-585 names toUP006
rule" (#15250)Contributors
@AlexWaygood
@InSyncWithFoo
@Lee-W
@MichaReiser
@augustelalande
@charliermarsh
@dcreager
@dylwil3
@mdbernard
@sharkdp
@w0nder1ng
Install ruff 0.8.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.ps1 | iex"
... (truncated)
Sourced from ruff's changelog.
0.8.6
Preview features
- [
format
]: Preserve multiline implicit concatenated strings in docstring positions (#15126)- [
ruff
] Add rule to detect empty literal in deque call (RUF025
) (#15104)- [
ruff
] Avoid reporting whenndigits
is possibly negative (RUF057
) (#15234)Rule changes
- [
flake8-todos
] remove issue code length restriction (TD003
) (#15175)- [
pyflakes
] Ignore errors in@no_type_check
string annotations (F722
,F821
) (#15215)CLI
- Show errors for attempted fixes only when passed
--verbose
(#15237)Bug fixes
- [
ruff
] Avoid syntax error when removing int over multiple lines (RUF046
) (#15230)- [
pyupgrade
] Revert "Add all PEP-585 names toUP006
rule" (#15250)0.8.5
Preview features
- [
airflow
] Extend names moved from core to provider (AIR303
) (#15145, #15159, #15196, #15216)- [
airflow
] Extend rule to check class attributes, methods, arguments (AIR302
) (#15054, #15083)- [
fastapi
] UpdateFAST002
to check keyword-only arguments (#15119)- [
flake8-type-checking
] DisableTC006
andTC007
in stub files (#15179)- [
pylint
] Detect nested methods correctly (PLW1641
) (#15032)- [
ruff
] Detect more strict-integer expressions (RUF046
) (#14833)- [
ruff
] Implementfalsy-dict-get-fallback
(RUF056
) (#15160)- [
ruff
] Implementunnecessary-round
(RUF057
) (#14828)Rule changes
- Visit PEP 764 inline
TypedDict
keys as non-type-expressions (#15073)- [
flake8-comprehensions
] SkipC416
if comprehension contains unpacking (#14909)- [
flake8-pie
] Allowcast(SomeType, ...)
(PIE796
) (#15141)- [
flake8-simplify
] More precise inference for dictionaries (SIM300
) (#15164)- [
flake8-use-pathlib
] Catch redundant joins inPTH201
and avoid syntax errors (#15177)- [
pycodestyle
] Preserve original value format (E731
) (#15097)- [
pydocstyle
] Split on first whitespace character (D403
) (#15082)- [
pyupgrade
] Add all PEP-585 names toUP006
rule (#5454)Configuration
... (truncated)
6b907c1
Ruff 0.8.6 (#15253)f319531
Make unreachable a test rule for now (#15252)e4d9fe0
Revert "Add all PEP-585 names to UP006 rule" (#15250)baf0d66
Update salsa (#15243)bde8ecd
[red-knot] Remove unneeded branch in
Type::is_equivalent_to()
(#15242)842f882
[ruff
] Avoid reporting when ndigits
is
possibly negative (RUF057
) (#15234)75015b0
Attribute panics to the mdtests that cause them (#15241)706d87f
Show errors for attempted fixes only when passed --verbose
(#15237)0837cdd
[RUF
] Add rule to detect empty literal in deque call
(RUF025
) (#15104)0dbfa8d
TD003: remove issue code length restriction (#15175)