Monitor performance issues & errors in your code

Ruff - The Fast, Rust-based Python Linter

Episode #400, published Wed, Jan 25, 2023, recorded Wed, Jan 18, 2023

Our code quality tools (linters, test frameworks, and others) play an important role in keeping our code error free and conforming to the rules our teams have chosen. But when these tools become sluggish and slow down development, we often avoid running them or even turn them off. On this episode, we have Charlie Marsh here to introduce Ruff, a fast Python linter, written in Rust. To give you a sense of what he means with fast, common Python linters can take 30-60 seconds to lint the CPython codebase. Ruff takes 300 milliseconds. I ran it on the 20,000 lines of Python code for our courses web app at Talk Python Training, and it was instantaneous. It's the kind of tool that can change how you work. I hope you're excited to learn more about it.

Watch this episode on YouTube
Play on YouTube
Watch the live stream version

Links from the show

Charlie on Twitter: @charliermarsh
Charlie on Mastodon: @charliermarsh@hachyderm
Ruff: github.com

PyCharm Developer Advocate Job: jetbrains.com/careers
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon