Loading...

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

22287 1106________

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 - docs.astral.sh/ruff/
Ruff Rules - docs.astral.sh/ruff/rules/
Pipx - pipx.pypa.io/stable/installation/

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

UV Tutorial -    • Python Tutorial: UV - A Faster, All-i...  
Dotfiles Tutorial -    • Automate Your Development Environment...  
Pathlib Tutorial -    • Python Tutorial: Pathlib - The Modern...  

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

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

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

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

✅ Corey's Public Amazon Wishlist
a.co/inIyro1

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

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

#Python #Ruff

コメント