Skip to content

0.11.10

Compare
Choose a tag to compare
@github-actions github-actions released this 15 May 14:14
b35bf8a

Release Notes

Preview features

  • [ruff] Implement a recursive check for RUF060 (#17976)
  • [airflow] Enable autofixes for AIR301 and AIR311 (#17941)
  • [airflow] Apply try catch guard to all AIR3 rules (#17887)
  • [airflow] Extend AIR311 rules (#17913)

Bug fixes

  • [flake8-bugbear] Ignore B028 if skip_file_prefixes is present (#18047)
  • [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments (#18046)
  • [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) (#18075)
  • [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal (#18045)
  • [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) (#17968)
  • [refurb] Mark autofix as safe only for number literals (FURB116) (#17692)

Rule changes

  • [flake8-bandit] Skip S608 for expressionless f-strings (#17999)
  • [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) (#17650)
  • [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) (#17933)

CLI

  • Disable jemalloc on Android (#18033)

Documentation

  • Update Neovim setup docs (#18108)
  • [flake8-simplify] Add fix safety section (SIM103) (#18086)
  • [flake8-simplify] Add fix safety section (SIM112) (#18099)
  • [pylint] Add fix safety section (PLC0414) (#17802)
  • [pylint] Add fix safety section (PLE4703) (#17824)
  • [pylint] Add fix safety section (PLW1514) (#17932)
  • [pylint] Add fix safety section (PLW3301) (#17878)
  • [ruff] Add fix safety section (RUF007) (#17755)
  • [ruff] Add fix safety section (RUF033) (#17760)

Contributors

Install ruff 0.11.10

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.10/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.10/ruff-installer.ps1 | iex"

Download ruff 0.11.10

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