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.12.12
Name Modified Size InfoDownloads / Week
Parent folder
source.tar.gz.sha256 2025-09-04 81 Bytes
ruff-x86_64-pc-windows-msvc.zip.sha256 2025-09-04 98 Bytes
ruff-x86_64-unknown-linux-gnu.tar.gz 2025-09-04 13.3 MB
ruff-x86_64-unknown-linux-gnu.tar.gz.sha256 2025-09-04 103 Bytes
ruff-x86_64-unknown-linux-musl.tar.gz 2025-09-04 13.4 MB
ruff-x86_64-unknown-linux-musl.tar.gz.sha256 2025-09-04 104 Bytes
sha256.sum 2025-09-04 81 Bytes
source.tar.gz 2025-09-04 7.9 MB
ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256 2025-09-04 108 Bytes
ruff-riscv64gc-unknown-linux-gnu.tar.gz 2025-09-04 13.3 MB
ruff-riscv64gc-unknown-linux-gnu.tar.gz.sha256 2025-09-04 106 Bytes
ruff-s390x-unknown-linux-gnu.tar.gz 2025-09-04 13.0 MB
ruff-s390x-unknown-linux-gnu.tar.gz.sha256 2025-09-04 102 Bytes
ruff-x86_64-apple-darwin.tar.gz 2025-09-04 12.9 MB
ruff-x86_64-apple-darwin.tar.gz.sha256 2025-09-04 98 Bytes
ruff-x86_64-pc-windows-msvc.zip 2025-09-04 12.8 MB
ruff-i686-unknown-linux-gnu.tar.gz.sha256 2025-09-04 101 Bytes
ruff-i686-unknown-linux-musl.tar.gz 2025-09-04 12.9 MB
ruff-i686-unknown-linux-musl.tar.gz.sha256 2025-09-04 102 Bytes
ruff-installer.ps1 2025-09-04 20.7 kB
ruff-installer.sh 2025-09-04 63.9 kB
ruff-powerpc64-unknown-linux-gnu.tar.gz 2025-09-04 14.7 MB
ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256 2025-09-04 106 Bytes
ruff-powerpc64le-unknown-linux-gnu.tar.gz 2025-09-04 14.1 MB
ruff-arm-unknown-linux-musleabihf.tar.gz.sha256 2025-09-04 107 Bytes
ruff-armv7-unknown-linux-gnueabihf.tar.gz 2025-09-04 11.9 MB
ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256 2025-09-04 108 Bytes
ruff-armv7-unknown-linux-musleabihf.tar.gz 2025-09-04 11.9 MB
ruff-armv7-unknown-linux-musleabihf.tar.gz.sha256 2025-09-04 109 Bytes
ruff-i686-pc-windows-msvc.zip 2025-09-04 11.7 MB
ruff-i686-pc-windows-msvc.zip.sha256 2025-09-04 96 Bytes
ruff-i686-unknown-linux-gnu.tar.gz 2025-09-04 13.7 MB
dist-manifest.json 2025-09-04 41.9 kB
ruff-aarch64-apple-darwin.tar.gz 2025-09-04 12.0 MB
ruff-aarch64-apple-darwin.tar.gz.sha256 2025-09-04 99 Bytes
ruff-aarch64-pc-windows-msvc.zip 2025-09-04 11.9 MB
ruff-aarch64-pc-windows-msvc.zip.sha256 2025-09-04 99 Bytes
ruff-aarch64-unknown-linux-gnu.tar.gz 2025-09-04 12.3 MB
ruff-aarch64-unknown-linux-gnu.tar.gz.sha256 2025-09-04 104 Bytes
ruff-aarch64-unknown-linux-musl.tar.gz 2025-09-04 12.1 MB
ruff-aarch64-unknown-linux-musl.tar.gz.sha256 2025-09-04 105 Bytes
ruff-arm-unknown-linux-musleabihf.tar.gz 2025-09-04 12.1 MB
0.12.12 source code.tar.gz 2025-09-04 7.9 MB
0.12.12 source code.zip 2025-09-04 12.6 MB
README.md 2025-09-04 8.7 kB
Totals: 45 Items   258.5 MB 5

Release Notes

Preview features

  • Show fixes by default (#19919)
  • [airflow] Convert DatasetOrTimeSchedule(datasets=...) to AssetOrTimeSchedule(assets=...) (AIR311) (#20202)
  • [airflow] Improve the AIR002 error message (#20173)
  • [airflow] Move airflow.operators.postgres_operator.Mapping from AIR302 to AIR301 (#20172)
  • [flake8-async] Implement blocking-input rule (ASYNC250) (#20122)
  • [flake8-use-pathlib] Make PTH119 and PTH120 fixes unsafe because they can change behavior (#20118)
  • [pylint] Add U+061C to PLE2502 (#20106)
  • [ruff] Fix false negative for empty f-strings in deque calls (RUF037) (#20109)

Bug fixes

  • Less confidently mark f-strings as empty when inferring truthiness (#20152)
  • [fastapi] Fix false positive for paths with spaces around parameters (FAST003) (#20077)
  • [flake8-comprehensions] Skip C417 when lambda contains yield/yield from (#20201)
  • [perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934)

Rule changes

  • [pycodestyle] Preserve return type annotation for ParamSpec (E731) (#20108)

Documentation

Contributors

Install ruff 0.12.12

Install prebuilt binaries via shell script

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

Download ruff 0.12.12

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-04