Skip to content

0.11.7

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Apr 18:55
f7b4851

Release Notes

Preview features

  • [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301) (#17355)
  • [perflint] Implement fix for manual-dict-comprehension (PERF403) (#16719)
  • [syntax-errors] Make duplicate parameter names a semantic error (#17131)

Bug fixes

  • [airflow] Fix typos in provider package names (AIR302, AIR312) (#17574)
  • [flake8-type-checking] Visit keyword arguments in checks involving typing.cast/typing.NewType arguments (#17538)
  • [pyupgrade] Preserve parenthesis when fixing native literals containing newlines (UP018) (#17220)
  • [refurb] Mark the FURB161 fix unsafe except for integers and booleans (#17240)

Rule changes

  • [perflint] Allow list function calls to be replaced with a comprehension (PERF401) (#17519)
  • [pycodestyle] Auto-fix redundant boolean comparison (E712) (#17090)
  • [pylint] make fix unsafe if delete comments (PLR1730) (#17459)

Documentation

Contributors

Install ruff 0.11.7

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.7/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.7/ruff-installer.ps1 | iex"

Download ruff 0.11.7

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
ruff-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ruff-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
ruff-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
ruff-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
ruff-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
ruff-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
ruff-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
ruff-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
ruff-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
ruff-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
ruff-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
ruff-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum