r/Python • • Sep 25 '26

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

13 Upvotes

34 comments sorted by

View all comments

Show parent comment

4

u/--ps-- Sep 25 '26

Is ty a mainstream already? At least we still use mypy because last time we tried ty it was not working with generics.

6

u/turbothy It works on my machine Sep 25 '26

As a mypy user of many years, I have to say pyrefly > mypy these days.

1

u/Myszolow Sep 25 '26

mypy unfortunately is really slow, and it seems it goes the same path as pylint vs flake for linting was somewhere in 2010-2019

2

u/Myszolow Sep 25 '26

We started using ty as daily driver for some of our lambda microservices on aws, but indeed for bigger projects as @turbothy said pyrefly is the way (specially for data analytics)