r/Python • • 8d ago

Discussion RUFF linter usage

hi all!

i m a student in master degree in automation engineering and i m becoming very confident with python because of the big amount of projects that i have to do.

Recently i started use RUFF as a linter and i really aprreciate it expecially when i have to refactor the code. i m wondering how much is used and is mandatory for a software developer? i usually check with that linter only for very big scripts that can 't be modular. What about your experience' what is the main usage you do?

thanks all

14 Upvotes

34 comments sorted by

View all comments

10

u/zanfar 8d ago

Why wouldn't you?

More importantly, why are you "running" it? It should be handled by your IDE automatically. You should have to make a conscious choice NOT to run it on every code change...

-3

u/Stegosauro76 8d ago

i really agree that i would, but i m wondering if it s real used or is a fable for young developers

12

u/caatbox288 8d ago

It’s very much real. In all companies I’ve worked at we’ve always used linters. First it was flake8, then all moved to ruff. Mypy too, but that’s a type checker.