this post was submitted on 19 Oct 2023
11 points (92.3% liked)
Programming
17540 readers
87 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
ruff
I discovered ruff earlier this year as the project was really taking off. It’s a python linter, and very recently now a formatter too. Its main selling points are that it is insanely fast and implements features previously provided by dozens of different tools. It was a pretty easy sell at work due to its speed, and the guy who initially wrote it now has a startup and they seem intent on expanding to cover more tool categories. It’s been a huge improvement for my work as a python dev.
I wish it had feature parity with pylint already. I know they're working on it, but it's not quite there
They have lots of awesome extra features though like built in pyupgrade, formatting etc
Imo once they get into stable territory it will be the one stop shop for Python linting
They’ve made a lot of progress on pylint: https://github.com/astral-sh/ruff/issues/970
I think one of the main issues is that ruff doesn’t really handle types yet. They’re getting there and once they have reasonably good type inference I suspect the list will be quickly checked off.