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

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

Update: 2023-01-252
Share

Description

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.
Comments 
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

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

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

Michael Kennedy (@mkennedy)