NLeSC / guide

Software Development Guide
https://guide.esciencecenter.nl
Creative Commons Attribution 4.0 International
47 stars 30 forks source link

Clarify difference of ruff vs black #318

Closed bouweandela closed 1 year ago

bouweandela commented 1 year ago
          As far as I'm aware, Ruff can only correct small bits of lint, not full autofomatting..

_Originally posted by @bouweandela in https://github.com/NLeSC/guide/pull/302#discussion_r1383557698_

egpbos commented 1 year ago

"Full" autoformatting parity with black (and isort) was recently added: https://astral.sh/blog/the-ruff-formatter.

egpbos commented 1 year ago

It's officially still in beta, but it's already usable in the regular releases and given the pace of development I don't think it makes sense to wait for it to officially become stable, which will probably be in a month or so.