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

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

Home / 0.12.2
Name Modified Size InfoDownloads / Week
Parent folder
ruff-x86_64-pc-windows-msvc.zip.sha256 2025-07-03 98 Bytes
ruff-x86_64-unknown-linux-gnu.tar.gz 2025-07-03 11.7 MB
ruff-x86_64-unknown-linux-gnu.tar.gz.sha256 2025-07-03 103 Bytes
ruff-x86_64-unknown-linux-musl.tar.gz 2025-07-03 11.7 MB
ruff-x86_64-unknown-linux-musl.tar.gz.sha256 2025-07-03 104 Bytes
sha256.sum 2025-07-03 81 Bytes
source.tar.gz 2025-07-03 6.9 MB
source.tar.gz.sha256 2025-07-03 81 Bytes
ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256 2025-07-03 106 Bytes
ruff-powerpc64le-unknown-linux-gnu.tar.gz 2025-07-03 12.2 MB
ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256 2025-07-03 108 Bytes
ruff-s390x-unknown-linux-gnu.tar.gz 2025-07-03 11.8 MB
ruff-s390x-unknown-linux-gnu.tar.gz.sha256 2025-07-03 102 Bytes
ruff-x86_64-apple-darwin.tar.gz 2025-07-03 11.1 MB
ruff-x86_64-apple-darwin.tar.gz.sha256 2025-07-03 98 Bytes
ruff-x86_64-pc-windows-msvc.zip 2025-07-03 11.3 MB
ruff-armv7-unknown-linux-musleabihf.tar.gz.sha256 2025-07-03 109 Bytes
ruff-i686-pc-windows-msvc.zip 2025-07-03 10.2 MB
ruff-i686-pc-windows-msvc.zip.sha256 2025-07-03 96 Bytes
ruff-i686-unknown-linux-gnu.tar.gz 2025-07-03 11.8 MB
ruff-i686-unknown-linux-gnu.tar.gz.sha256 2025-07-03 101 Bytes
ruff-i686-unknown-linux-musl.tar.gz 2025-07-03 11.2 MB
ruff-i686-unknown-linux-musl.tar.gz.sha256 2025-07-03 102 Bytes
ruff-installer.ps1 2025-07-03 20.7 kB
ruff-installer.sh 2025-07-03 63.0 kB
ruff-powerpc64-unknown-linux-gnu.tar.gz 2025-07-03 12.6 MB
ruff-aarch64-unknown-linux-gnu.tar.gz.sha256 2025-07-03 104 Bytes
ruff-aarch64-unknown-linux-musl.tar.gz 2025-07-03 10.6 MB
ruff-aarch64-unknown-linux-musl.tar.gz.sha256 2025-07-03 105 Bytes
ruff-arm-unknown-linux-musleabihf.tar.gz 2025-07-03 10.4 MB
ruff-arm-unknown-linux-musleabihf.tar.gz.sha256 2025-07-03 107 Bytes
ruff-armv7-unknown-linux-gnueabihf.tar.gz 2025-07-03 10.2 MB
ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256 2025-07-03 108 Bytes
ruff-armv7-unknown-linux-musleabihf.tar.gz 2025-07-03 10.2 MB
dist-manifest.json 2025-07-03 47.1 kB
ruff-aarch64-apple-darwin.tar.gz 2025-07-03 10.5 MB
ruff-aarch64-apple-darwin.tar.gz.sha256 2025-07-03 99 Bytes
ruff-aarch64-pc-windows-msvc.zip 2025-07-03 10.4 MB
ruff-aarch64-pc-windows-msvc.zip.sha256 2025-07-03 99 Bytes
ruff-aarch64-unknown-linux-gnu.tar.gz 2025-07-03 10.7 MB
0.12.2 source code.tar.gz 2025-07-03 6.9 MB
0.12.2 source code.zip 2025-07-03 11.4 MB
README.md 2025-07-03 12.1 kB
Totals: 43 Items   213.9 MB 0

Release Notes

Preview features

  • [flake8-pyi] Expand Optional[A] to A | None (PYI016) (#18572)
  • [pyupgrade] Mark UP008 fix safe if no comments are in range (#18683)

Bug fixes

  • [flake8-comprehensions] Fix C420 to prepend whitespace when needed (#18616)
  • [perflint] Fix PERF403 panic on attribute or subscription loop variable (#19042)
  • [pydocstyle] Fix D413 infinite loop for parenthesized docstring (#18930)
  • [pylint] Fix PLW0108 autofix introducing a syntax error when the lambda's body contains an assignment expression (#18678)
  • [refurb] Fix false positive on empty tuples (FURB168) (#19058)
  • [ruff] Allow more field calls from attrs (RUF009) (#19021)
  • [ruff] Fix syntax error introduced for an empty string followed by a u-prefixed string (UP025) (#18899)

Rule changes

  • [flake8-executable] Allow uvx in shebang line (EXE003) (#18967)
  • [pandas] Avoid flagging PD002 if pandas is not imported (#18963)
  • [pyupgrade] Avoid PEP-604 unions with typing.NamedTuple (UP007, UP045) (#18682)

Documentation

  • Document link between import-outside-top-level (PLC0415) and lint.flake8-tidy-imports.banned-module-level-imports (#18733)
  • Fix description of the format.skip-magic-trailing-comma example (#19095)
  • [airflow] Make AIR302 example error out-of-the-box (#18988)
  • [airflow] Make AIR312 example error out-of-the-box (#18989)
  • [flake8-annotations] Make ANN401 example error out-of-the-box (#18974)
  • [flake8-async] Make ASYNC100 example error out-of-the-box (#18993)
  • [flake8-async] Make ASYNC105 example error out-of-the-box (#19002)
  • [flake8-async] Make ASYNC110 example error out-of-the-box (#18975)
  • [flake8-async] Make ASYNC210 example error out-of-the-box (#18977)
  • [flake8-async] Make ASYNC220, ASYNC221, and ASYNC222 examples error out-of-the-box (#18978)
  • [flake8-async] Make ASYNC251 example error out-of-the-box (#18990)
  • [flake8-bandit] Make S201 example error out-of-the-box (#19017)
  • [flake8-bandit] Make S604 and S609 examples error out-of-the-box (#19049)
  • [flake8-bugbear] Make B028 example error out-of-the-box (#19054)
  • [flake8-bugbear] Make B911 example error out-of-the-box (#19051)
  • [flake8-datetimez] Make DTZ011 example error out-of-the-box (#19055)
  • [flake8-datetimez] Make DTZ901 example error out-of-the-box (#19056)
  • [flake8-pyi] Make PYI032 example error out-of-the-box (#19061)
  • [flake8-pyi] Make example error out-of-the-box (PYI014, PYI015) (#19097)
  • [flake8-pyi] Make example error out-of-the-box (PYI042) (#19101)
  • [flake8-pyi] Make example error out-of-the-box (PYI059) (#19080)
  • [flake8-pyi] Make example error out-of-the-box (PYI062) (#19079)
  • [flake8-pytest-style] Make example error out-of-the-box (PT023) (#19104)
  • [flake8-pytest-style] Make example error out-of-the-box (PT030) (#19105)
  • [flake8-quotes] Make example error out-of-the-box (Q003) (#19106)
  • [flake8-simplify] Make example error out-of-the-box (SIM110) (#19113)
  • [flake8-simplify] Make example error out-of-the-box (SIM113) (#19109)
  • [flake8-simplify] Make example error out-of-the-box (SIM401) (#19110)
  • [pyflakes] Fix backslash in docs (F621) (#19098)
  • [pylint] Fix PLC0415 example (#18970)

Contributors

Install ruff 0.12.2

Install prebuilt binaries via shell script

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

Download ruff 0.12.2

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