nolds
nolds copied to clipboard
Add ruff linter and formatter
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.tomltopyproject.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.