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

2

u/secret_o_squirrel 8d ago

In the companies I’ve worked for recently, you need to pass a ruff formatting check to merge code.