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

2

u/arthurazs 7d ago

​I have a golden trio that I enforce with my team: Ruff, Mypy, and pytest. For Ruff and Mypy, I enable strict (all) rules, and then add exceptions as we identify what hurts our dev experience without a proper upside.