meta_pixel
Tapesearch Logo
Log in
Talk Python To Me

#400: Ruff - The Fast, Rust-based Python Linter

Talk Python To Me

Michael Kennedy

Technology

4.8635 Ratings

🗓️ 25 January 2023

⏱️ 64 minutes

🧾️ Download transcript

Summary

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.

Transcript

Click on a timestamp to play from that location

0:00.0

Our code quality tools, linter's test frameworks, and others play an important role on keeping

0:04.9

our code error-free and conforming to the rules our teams have chosen. But when these tools become

0:10.3

sluggish and slow-down development, we often avoid running them or even turn them off.

0:15.7

On this episode, we have Charlie Marsh here to introduce Ruff, a fast Python linter written in

0:20.7

Rust. To give you a sense

0:22.3

of what he means by fast, common Python linters can take 30 to 60 seconds to lent the C-Python

0:28.4

code base. Rough takes 300 milliseconds. I ran it on the 20,000 lines of Python code for our

0:35.6

course's web app at Talk Python training, and it was instantaneous.

0:40.0

With that kind of speed, it's the kind of tool that can change how you work. I hope you're

0:44.1

excited to learn about Rough. This is Talk Python to me. Episode 400 recorded January 18th,

0:50.5

2023.

1:08.1

Welcome to Talk Python, a weekly podcast on Python.

1:09.8

This is your host, Michael Kennedy.

1:11.9

Follow me on Macedon, where I'm at M. Kennedy and follow the podcast using at Talk Python, both on bostadon.org. Be careful with

1:18.1

impersonating accounts on other instances. There are many. Keep up with the show and listen to over

1:22.6

seven years of past episodes at Talk Python.fm. We've started streaming most of our episodes live on YouTube.

1:30.4

Subscribe to our YouTube channel over at TalkPython.fm slash YouTube to get notified

1:34.6

about upcoming shows and be part of that episode.

1:38.0

This episode is brought to you by Cox Automotive.

1:40.9

Join their team and use your technical skills to transform the way the world buys,

1:44.9

sells, and owns cars. Find an exciting position that's right for you at TalkPython.com slash

1:49.8

Cox. And it's also brought to you by user interviews. Earn extra income for sharing your

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Michael Kennedy, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Michael Kennedy and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.