0.12.7
Release Notes
This is a follow-up release to 0.12.6. Because of an issue in the package metadata, 0.12.6 failed to publish fully to PyPI and has been yanked. Similarly, there is no GitHub release or Git tag for 0.12.6. The contents of the 0.12.7 release are identical to 0.12.6, except for the updated metadata.
0.12.6 Release Notes
Preview features
- [
flake8-commas] Add support for trailing comma checks in type parameter lists (COM812,COM819) (#19390) - [
pylint] Implement auto-fix formissing-maxsplit-arg(PLC0207) (#19387) - [
ruff] Offer fixes forRUF039in more cases (#19065)
Bug fixes
- Support
.pyifiles in ruff analyze graph (#19611) - [
flake8-pyi] Preserve inline comment in ellipsis removal (PYI013) (#19399) - [
perflint] Ignore rule if target isglobalornonlocal(PERF401) (#19539) - [
pyupgrade] FixUP030to avoid modifying double curly braces in format strings (#19378) - [
refurb] Ignore decorated functions forFURB118(#19339) - [
refurb] Markintandboolcases forDecimal.from_floatas safe fixes (FURB164) (#19468) - [
ruff] FixRUF033for named default expressions (#19115)
Rule changes
- [
flake8-blind-except] ChangeBLE001to permitlogging.critical(..., exc_info=True)(#19520)
Performance
- Add support for specifying minimum dots in detected string imports (#19538)
Contributors
- @AlexWaygood
- @BurntSushi
- @CodeMan62
- @DimitriPapadopoulos
- @IDrokin117
- @Luunynliny
- @MichaReiser
- @UnboundVariable
- @carljm
- @charliermarsh
- @clockback
- @danparizher
- @dcreager
- @dhruvmanila
- @dylwil3
- @github-actions
- @junhsonjb
- @mtshiba
- @ntBre
- @renovate
- @robsdedude
- @sharkdp
- @thejchap
Install ruff 0.12.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.7/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.7/ruff-installer.ps1 | iex"