Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ruff linter and formatter #48

Open
6 tasks
Tracked by #27
CSchoel opened this issue Aug 10, 2024 · 0 comments
Open
6 tasks
Tracked by #27

Add ruff linter and formatter #48

CSchoel opened this issue Aug 10, 2024 · 0 comments
Assignees

Comments

@CSchoel
Copy link
Owner

CSchoel commented Aug 10, 2024

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.

  • Move content of .ruff.toml to pyproject.toml.
  • Double check settings.
  • Check what is the maximum number of rules that we can allow without creating too much hassle.
  • Run ruff formatter over the whole codebase.
  • Run all possible autofixes over the whole codebase.
  • Check that unit tests still work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant