dodo icon indicating copy to clipboard operation
dodo copied to clipboard

Ruff linting/formatting

Open The-Compiler opened this issue 1 year ago • 0 comments

I'd regard ruff as best practice when developing Python code (replacing flake8, black, and some others).

However, IMHO it's only worth looking at if we can agree on also using its autoformatter, something that a big part of the Python community agrees on doing (even more if you count in black, which ruff is mostly compatible with).

I'd be happy to try setting things up (also on CI), though it might take me a bit. However, we'd first need to agree that linting plus autoformatting are a desirable thing for the codebase.

The-Compiler avatar Sep 12 '24 08:09 The-Compiler