pypi ruff 0.14.5

8 hours ago

Release Notes

Released on 2025-11-13.

Preview features

  • [flake8-simplify] Apply SIM113 when index variable is of type int (#21395)
  • [pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502) (#20535)
  • [pydoclint] Support NumPy-style comma-separated parameters (DOC102) (#20972)
  • [refurb] Auto-fix annotated assignments (FURB101) (#21278)
  • [ruff] Ignore str() when not used for simple conversion (RUF065) (#21330)

Bug fixes

  • Fix syntax error false positive on alternative match patterns (#21362)
  • [flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222) (#21187)
  • [pyupgrade] Fix false positive on relative imports from local .builtins module (UP029) (#21309)
  • [pyupgrade] Consistently set the deprecated tag (UP035) (#21396)

Rule changes

  • [refurb] Detect empty f-strings (FURB105) (#21348)

CLI

  • Add option to provide a reason to --add-noqa (#21294)
  • Add upstream linter URL to ruff linter --output-format=json (#21316)
  • Add color to --help (#21337)

Documentation

  • Add a new "Opening a PR" section to the contribution guide (#21298)
  • Added the PyScripter IDE to the list of "Who is using Ruff?" (#21402)
  • Update PyCharm setup instructions (#21409)
  • [flake8-annotations] Add link to allow-star-arg-any option (ANN401) (#21326)

Other changes

  • [configuration] Improve error message when line-length exceeds u16::MAX (#21329)

Contributors

Install ruff 0.14.5

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download ruff 0.14.5

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-riscv64gc-unknown-linux-gnu.tar.gz RISCV 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

Don't miss a new ruff release

NewReleases is sending notifications on new releases.