<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y" -->

---
title: Ruff v0.0.281 | daily.dev
description: Ruff v0.0.281 ships with a 2-3x faster lexer achieved through cache-friendly data structures, fewer allocations, and ASCII optimizations. The release adds...
canonical: https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ruff v0.0.281 | daily.dev
og:description: Ruff v0.0.281 ships with a 2-3x faster lexer achieved through cache-friendly data structures, fewer allocations, and ASCII optimizations. The release adds...
og:url: https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y
og:image: https://api.daily.dev/og/posts/tffkpQW0Y.png
og:image:alt: Ruff v0.0.281
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ruff v0.0.281

**[Astral](https://daily.dev/sources/astral-sh)** · 7 min read · 2 upvotes · 0 comments

## Summary

Ruff v0.0.281 ships with a 2-3x faster lexer achieved through cache-friendly data structures, fewer allocations, and ASCII optimizations. The release adds eight new lint rules: four for type stubs (unused private TypeVar, Protocol, TypeAlias, TypedDict), one for unsupported method calls on __all__, self-assigning variable detection, unsafe subprocess.Popen preexec_fn usage, and pathlib-based replacements for os.sep.split and glob. End-of-line file-level noqa suppression comments are now warned about and ignored.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://astral.sh/blog/ruff-v0.0.281>

## Similar posts on daily.dev

- [Ruff v0.16.0](https://daily.dev/posts/ruff-v0-16-0-by368rknj) · Astral · 23 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ruff v0.0.281","url":"https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y"},"datePublished":"2026-03-31T12:27:09.776Z","dateModified":"2026-03-31T12:32:07.783Z","description":"Ruff v0.0.281 ships with a 2-3x faster lexer achieved through cache-friendly data structures, fewer allocations, and ASCII optimizations. The release adds...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2964e4252a602880adc69ff495d77117?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2964e4252a602880adc69ff495d77117?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Astral","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Astral","logo":"https://media.daily.dev/image/upload/s--NI5d91BK--/f_auto,q_auto/v1774959974/logos/astral-sh?_a=BAMAMiWQ0","url":"https://daily.dev/sources/astral-sh"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ruff-v0-0-281-tffkpqw0y","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,rust","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Astral","item":"https://daily.dev/sources/astral-sh"},{"@type":"ListItem","position":3,"name":"Ruff v0.0.281"}]}
```

