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
 

Doesn't have to be from this week or this month. A wow moment can even be years back.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 2 points 1 year ago

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.