Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Python Tutorial: Ruff – A Fast Linter & Formatter to Replace Multiple Tools and Improve Code Quality

100.4K views on YouTube

In this Python tutorial, we’ll be learning how to use Ruff, a super-fast Python linter and formatter written in Rust. We’ll cover how to install Ruff, how to use Ruff from the command line to check and fix your code, and how to configure Ruff both for individual projects and globally. You’ll also learn how to integrate Ruff with VSCode to get real-time feedback as you code. Ruff is growing rapidly in popularity because it consolidates multiple Python tools like Flake8, Black, isort, and others into a single, faster solution that significantly improves code quality. By the end, you’ll be equipped to use Ruff in your own Python projects. Let’s get started…

Ruff Documentation – https://docs.astral.sh/ruff/
Ruff Rules – https://docs.astral.sh/ruff/rules/
Pipx – https://pipx.pypa.io/stable/installation/

My Ruff Config – https://bit.ly/ruff-coreyms
My VS Code Settings – https://bit.ly/vscode-coreyms

UV Tutorial – https://youtu.be/AMdG7IjgSPM
Dotfiles Tutorial – https://youtu.be/ra5kMCXO-6I
Pathlib Tutorial – https://youtu.be/yxa-DJuuTBI

✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms

✅ Become a Channel Member:
https://www.youtube.com/c/coreyms/join

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey’s Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website – http://coreyms.com/
My Second Channel – https://www.youtube.com/c/coreymschafer
Facebook – https://www.facebook.com/CoreyMSchafer
Twitter – https://twitter.com/CoreyMSchafer
Instagram – https://www.instagram.com/coreymschafer/

#Python #Ruff