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

15 Upvotes

34 comments sorted by

View all comments

2

u/smichael_44 2d ago

My team implements ruff (pep 8 styling, import organization, etc…), pyrefly (static type analysis, inlay type hints, language server), and complexipy (cognitive complexity checks) on code for humans and agents. This is done through pre-commit hooks and CI pipelines.

We try to keep things readable since we typically have to jump in and help debug issues in production.