Bump ruff from 0.7.1 to 0.7.2
Bumps ruff from 0.7.1 to 0.7.2.
Release notes
Sourced from ruff's releases.
0.7.2
Release Notes
Preview features
- Fix formatting of single with-item with trailing comment (#14005)
- [
pyupgrade
] Add PEP 646Unpack
conversion to*
with fix (UP044
) (#13988)Rule changes
- Regenerate
known_stdlibs.rs
with stdlibs 2024.10.25 (#13963)- [
flake8-no-pep420
] Skip namespace package enforcement for PEP 723 scripts (INP001
) (#13974)Server
- Fix server panic when undoing an edit (#14010)
Bug fixes
- Fix issues in discovering ruff in pip build environments (#13881)
- [
flake8-type-checking
] Fix false positive forsingledispatchmethod
(TCH003
) (#13941)- [
flake8-type-checking
] Treat return type ofsingledispatch
as runtime-required (TCH003
) (#13957)Documentation
- [
flake8-simplify
] Include caveats of enablingif-else-block-instead-of-if-exp
(SIM108
) (#14019)Install ruff 0.7.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.7.2/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.7.2/ruff-installer.ps1 | iex"
Download ruff 0.7.2
File Platform Checksum ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum ruff-i686-pc-windows-msvc.zip x86 Windows checksum ruff-x86_64-pc-windows-msvc.zip x64 Windows checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.7.2
Preview features
- Fix formatting of single with-item with trailing comment (#14005)
- [
pyupgrade
] Add PEP 646Unpack
conversion to*
with fix (UP044
) (#13988)Rule changes
- Regenerate
known_stdlibs.rs
with stdlibs 2024.10.25 (#13963)- [
flake8-no-pep420
] Skip namespace package enforcement for PEP 723 scripts (INP001
) (#13974)Server
- Fix server panic when undoing an edit (#14010)
Bug fixes
- Fix issues in discovering ruff in pip build environments (#13881)
- [
flake8-type-checking
] Fix false positive forsingledispatchmethod
(TCH003
) (#13941)- [
flake8-type-checking
] Treat return type ofsingledispatch
as runtime-required (TCH003
) (#13957)Documentation
- [
flake8-simplify
] Include caveats of enablingif-else-block-instead-of-if-exp
(SIM108
) (#14019)
Commits
-
11c3b52
generate using cargo-dist -
a388e49
Temporary comment out certain release steps -
099f077
[docs] Add rule short code to mkdocs tags (#14040) -
8574751
Give non-existent files a durability of at least Medium (#14034) -
ddae741
Switch touv publish
(#14042) -
5053d2c
Doc: markdown link fix (#14041) -
ef72fd7
Bump version to 0.7.2 (#14039) -
658a51e
Fix typo for static method decorator (#14038) -
7c2da4f
Sync vendored typeshed stubs (#14030) -
48fa839
Use named function in incremental red knot benchmark (#14033) - Additional commits viewable in compare view