Ruff

Ruff 0.17.1

An extremely fast Python linter, written in Rust.

  • By Astral
  • Open Source
  • Updated Oct 15, 2026
Download for Windows

About Ruff

An extremely fast Python linter, written in Rust.

What's new in 0.17.1

Released on 2026-10-15.

Preview features

  • [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#29322)

Bug fixes

  • Fix dedent with multiple leading comments (#29382)
  • [flake8-pyi] Detect legacy positional-only parameters in new methods (PYI063) (#28502)
  • [flake8-pyi] Fix false positives on quoted annotations (PYI036) (#29274)
  • [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (#29366)

Rule changes

  • Treat more collections and weakref containers as mutable (#29213)

Documentation

  • [flake8-import-conventions] Update default and example aliases (#29333)

Full release notes »

Technical details

PublisherAstral
Version0.17.1
Release date2026-10-15
LicenseMIT
Installer typezip
Architecturex86, x64, arm64
Package IDastral-sh.ruff

Links & install command

Install Ruff from the command line with Windows Package Manager (winget):

winget install --id=astral-sh.ruff -e

linterpep8pythonpython3ruffrustrustpythonstatic-analysisstatic-code-analysisstyleguidestyle-guide

Older versions

  • 0.17.0
  • 0.16.10
  • 0.16.9
  • 0.16.8
  • 0.16.7
  • 0.16.6
  • 0.16.5
  • 0.16.4
  • 0.16.3