Popular: Data updated November 1, 2026

Categories

Internet1,361
Communication321
Audio & video906
Graphics & design543
Office & productivity1,121
Developer tools3,140
AI tools536
Security & privacy390
System tools3,140
Games525
Education & science239
Network & IT282

Ruff 0.15.2 download

An extremely fast Python linter, written in Rust.

Astral Languages & SDKs #42 Languages & SDKs
This is an older version. The current version is 0.17.1. Ruff 0.17.1 · Released:

Installer files 0.15.2

ArchitectureTypeScopeFile sizeDownloadSHA256
64-bit ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal
32-bit ZIP → Portable — — github.com VirusTotal

Link and SHA256 come from the Windows Package Manager community manifest. Compare the hash of the downloaded file before running it.

Release notes

Released on 2026-02-19.

Preview features
- Expand the default rule set (#23385)

In preview, Ruff now enables a significantly expanded default rule set of 412
rules, up from the stable default set of 59 rules. The new rules are mostly a
superset of the stable defaults, with the exception of these rules, which are
removed from the preview defaults:

- `multiple-imports-on-one-line` (E401)
- `module-import-not-at-top-of-file` (E402)
- `module-import-not-at-top-of-file` (E701)
- `multiple-statements-on-one-line-semicolon` (E702)
- `useless-semicolon` (E703)
- `none-comparison` (E711)
- `true-false-comparison` (E712)
- `not-in-test` (E713)
- `not-is-test` (E714)
- `type-comparison` (E721)
- `lambda-assignment` (E731)
- `ambiguous-variable-name` (E741)
- `ambiguous-class-name` (E742)
- `ambiguous-function-name` (E743)
- `undefined-local-with-import-star` (F403)
- `undefined-local-with-import-star-usage` (F405)
- `undefined-local-with-nested-import-star-usage` (F406)
- `forward-annotation-syntax-error` (F722)

If you use preview and prefer the old defaults, you can restore them with
configuration like:

```toml

# ruff.toml

[lint]
select = ["E4", "E7", "E9", "F"]

# pyproject.toml

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
```

If you do give them a try, feel free to share your feedback in the GitHub
discussion!

- [flake8-pyi] Also check string annotations (PYI041) (#19023)

Bug fixes
- [flake8-async] Fix `in_async_context` logic (#23426)
- [ruff] Fix for RUF102 should delete entire comment (#23380)
- [ruff] Suppress diagnostic for strings with backslashes in interpolations before Python 3.12 (RUF027) (#21069)
- [flake8-bugbear] Fix B023 false positive for immediately-invoked lambdas (#23294)
- [parser] Fix false syntax error for match-like annotated assignments (#23297)
- [parser] Fix indentation tracking after line continuations (#23417)

Rule changes
- [flake8-executable] Allow global flags in uv shebangs (EXE003) (#22582)
- [pyupgrade] Fix handling of `typing.{io,re}` (UP035) (#23131)
- [ruff] Detect PLC0207 on chained `str.split()` calls (#23275)

CLI
- Remove invalid inline `noqa` warning (#23270)

Configuration
- Add extension mapping to configuration file options (#23384)

Documentation
- Add Q004 to the list of conflicting rules (#23340)
- [ruff] Expand `lint.external` docs and add sub-diagnostic (RUF100, RUF102) (#23268)

https://github.com/astral-sh/ruff/releases/tag/0.15.2

Most popular in Languages & SDKs

See all
  1. Go Programming LanguageAn open source programming language that makes it simple to build secure, scalable systems.
  2. LLVMA collection of modular and reusable compiler and toolchain technologies.
  3. DenoA modern runtime for JavaScript and TypeScript
  4. CMakeCMake is a cross-platform, open-source build system generator.
  5. YarnYarn is a package manager that doubles down as project manager. Whether you work on one-shot projects or large monorepos, as a hobbyist or an enterprise user, we've got you covered.
  6. CcacheCcache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again.
  7. sbtA build tool for Scala, Java, and more
  8. BOINCOpen-source software for volunteer computing and grid computing.
  9. Dart SDKA set of tools and libraries for the Dart programming language.
  10. TelegrafAgent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

Tags

Share