Download Latest Version ruff-i686-pc-windows-msvc.zip (11.8 MB)
Email in envelope

Get an email when there's a new version of Ruff

Home / 0.13.0
Name Modified Size InfoDownloads / Week
Parent folder
ruff-x86_64-unknown-linux-gnu.tar.gz.sha256 2025-09-10 103 Bytes
ruff-x86_64-unknown-linux-musl.tar.gz 2025-09-10 13.4 MB
ruff-x86_64-unknown-linux-musl.tar.gz.sha256 2025-09-10 104 Bytes
sha256.sum 2025-09-10 81 Bytes
source.tar.gz 2025-09-10 7.9 MB
source.tar.gz.sha256 2025-09-10 81 Bytes
ruff-s390x-unknown-linux-gnu.tar.gz 2025-09-10 13.1 MB
ruff-s390x-unknown-linux-gnu.tar.gz.sha256 2025-09-10 102 Bytes
ruff-x86_64-apple-darwin.tar.gz 2025-09-10 12.9 MB
ruff-x86_64-apple-darwin.tar.gz.sha256 2025-09-10 98 Bytes
ruff-x86_64-pc-windows-msvc.zip 2025-09-10 12.9 MB
ruff-x86_64-pc-windows-msvc.zip.sha256 2025-09-10 98 Bytes
ruff-x86_64-unknown-linux-gnu.tar.gz 2025-09-10 13.4 MB
ruff-installer.sh 2025-09-10 63.9 kB
ruff-powerpc64-unknown-linux-gnu.tar.gz 2025-09-10 14.7 MB
ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256 2025-09-10 106 Bytes
ruff-powerpc64le-unknown-linux-gnu.tar.gz 2025-09-10 14.1 MB
ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256 2025-09-10 108 Bytes
ruff-riscv64gc-unknown-linux-gnu.tar.gz 2025-09-10 13.3 MB
ruff-riscv64gc-unknown-linux-gnu.tar.gz.sha256 2025-09-10 106 Bytes
ruff-armv7-unknown-linux-musleabihf.tar.gz.sha256 2025-09-10 109 Bytes
ruff-i686-pc-windows-msvc.zip 2025-09-10 11.8 MB
ruff-i686-pc-windows-msvc.zip.sha256 2025-09-10 96 Bytes
ruff-i686-unknown-linux-gnu.tar.gz 2025-09-10 13.7 MB
ruff-i686-unknown-linux-gnu.tar.gz.sha256 2025-09-10 101 Bytes
ruff-i686-unknown-linux-musl.tar.gz 2025-09-10 12.9 MB
ruff-i686-unknown-linux-musl.tar.gz.sha256 2025-09-10 102 Bytes
ruff-installer.ps1 2025-09-10 20.7 kB
ruff-aarch64-unknown-linux-musl.tar.gz.sha256 2025-09-10 105 Bytes
ruff-arm-unknown-linux-musleabihf.tar.gz 2025-09-10 12.2 MB
ruff-arm-unknown-linux-musleabihf.tar.gz.sha256 2025-09-10 107 Bytes
ruff-armv7-unknown-linux-gnueabihf.tar.gz 2025-09-10 12.0 MB
ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256 2025-09-10 108 Bytes
ruff-armv7-unknown-linux-musleabihf.tar.gz 2025-09-10 12.0 MB
dist-manifest.json 2025-09-10 50.0 kB
ruff-aarch64-apple-darwin.tar.gz 2025-09-10 12.1 MB
ruff-aarch64-apple-darwin.tar.gz.sha256 2025-09-10 99 Bytes
ruff-aarch64-pc-windows-msvc.zip 2025-09-10 12.0 MB
ruff-aarch64-pc-windows-msvc.zip.sha256 2025-09-10 99 Bytes
ruff-aarch64-unknown-linux-gnu.tar.gz 2025-09-10 12.3 MB
ruff-aarch64-unknown-linux-gnu.tar.gz.sha256 2025-09-10 104 Bytes
ruff-aarch64-unknown-linux-musl.tar.gz 2025-09-10 12.1 MB
0.13.0 source code.tar.gz 2025-09-10 7.9 MB
0.13.0 source code.zip 2025-09-10 12.6 MB
README.md 2025-09-10 12.3 kB
Totals: 45 Items   259.7 MB 4

Release Notes

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • Several rules can now add from __future__ import annotations automatically

    TC001, TC002, TC003, RUF013, and UP037 now add from __future__ import annotations as part of their fixes when the lint.future-annotations setting is enabled. This allows the rules to move more imports into TYPE_CHECKING blocks (TC001, TC002, and TC003), use PEP 604 union syntax on Python versions before 3.10 (RUF013), and unquote more annotations (UP037).

  • Full module paths are now used to verify first-party modules

    Ruff now checks that the full path to a module exists on disk before categorizing it as a first-party import. This change makes first-party import detection more accurate, helping to avoid false positives on local directories with the same name as a third-party dependency, for example. See the FAQ section on import categorization for more details.

  • Deprecated rules must now be selected by exact rule code

    Ruff will no longer activate deprecated rules selected by their group name or prefix. As noted below, the two remaining deprecated rules were also removed in this release, so this won't affect any current rules, but it will still affect any deprecations in the future.

  • The deprecated macOS configuration directory fallback has been removed

    Ruff will no longer look for a user-level configuration file at ~/Library/Application Support/ruff/ruff.toml on macOS. This feature was deprecated in v0.5 in favor of using the XDG specification (usually resolving to ~/.config/ruff/ruff.toml), like on Linux. The fallback and accompanying deprecation warning have now been removed.

Removed Rules

The following rules have been removed:

Stabilization

The following rules have been stabilized and are no longer in preview:

The following behaviors have been stabilized:

Preview features

  • [pyupgrade] Enable UP043 in stub files (#20027)

Bug fixes

  • [pyupgrade] Apply UP008 only when the __class__ cell exists (#19424)
  • [ruff] Fix empty f-string detection in in-empty-collection (RUF060) (#20249)

Server

  • Add support for using uv as an alternative formatter backend (#19665)

Documentation

  • [pep8-naming] Fix formatting of __all__ (N816) (#20301)

Contributors

Install ruff 0.13.0

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download ruff 0.13.0

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
Source: README.md, updated 2025-09-10