Home / Companies / Dagger / Blog / Post Details
Content Deep Dive

Adopting Ruff for Dagger’s Python SDK

Blog post from Dagger

Post Details
Company
Date Published
Author
Helder Correia
Word Count
2,874
Company Posts That Month
3
Language
English
Hacker News Points
3
Post removed?
No
Source URL
Summary

The author has adopted Ruff, a fast and feature-rich Python linter, for their Dagger Python SDK. The switch was made due to Ruff's growing popularity among popular open-source projects like Pandas, FastAPI, Pydantic, Sphinx, and Hatch. Ruff offers several benefits, including speed, reduced dependencies, and improved code quality. The author notes that Ruff is built in Rust, which contributes to its speed, and has near feature parity with existing tools like flake8 and isort. Adopting Ruff has resulted in a significant reduction in linting time, from over 3 seconds to approximately 0.03 seconds per 6500 lines of code. The author appreciates the fast execution and reduced dependencies brought by Ruff, while also recognizing that it limits contribution by Python enthusiasts. The future steps include reviewing updates on a weekly schedule and exploring the possibility of using Ruff for both linting and formatting code.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 1,490 391 141 -13%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.