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

Publicado em: 19 May 2025
no canal de: Corey Schafer
95,744
3.2k

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/installat...

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

UV Tutorial -    • Python Tutorial: UV - A Faster, All-in-One...  
Dotfiles Tutorial -    • Automate Your Development Environment Setu...  
Pathlib Tutorial -    • Python Tutorial: Pathlib - The Modern Way ...  

✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / coreyms  

✅ 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 -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python #Ruff


Nesta página do site você pode assistir ao vídeo on-line Python Tutorial: Ruff - A Fast Linter & Formatter to Replace Multiple Tools and Improve Code Quality duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Corey Schafer 19 May 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 95,744 vezes e gostou 3.2 mil espectadores. Boa visualização!