nolds icon indicating copy to clipboard operation
nolds copied to clipboard

Add ruff linter and formatter

Open CSchoel opened this issue 1 year ago • 0 comments

Nolds already has a .ruff.toml. After #43, we can move the content to pyproject.toml. We should also double-check which settings we want and which rules we want to enable.

  • [x] Move content of .ruff.toml to pyproject.toml.
  • [x] Double check settings.
  • [x] Check what is the maximum number of rules that we can allow without creating too much hassle.
  • [x] Run ruff formatter over the whole codebase.
  • [x] Run all possible autofixes over the whole codebase.
  • [ ] Check that unit tests still work.

CSchoel avatar Aug 10 '24 14:08 CSchoel