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

[DevOps]: Adopt ruff as the central tool for linting, formatting, and import sorting #918

Closed
tomvothecoder opened this issue Jan 17, 2025 · 0 comments · Fixed by #920
Closed
Assignees

Comments

@tomvothecoder
Copy link
Collaborator

Is your feature request related to a problem?

Related to xCDAT/xcdat#702

Why ruff?

  • Meets most of our needs out-of-the-box (linter, formatter, import sorting)
  • Adopting ruff simplifies DevOps tooling and configuration
  • It is significantly faster for linting, formatting, and import sorting compared to flake8, black, and isort
  • Mostly interoperable and configured to replicate flake8, black, and isort out-of-the-box
  • Is easily extensible with tools like flake8-docstrings and flake8-bugbear
  • Rapidly growing popularity on GitHub, adopted by other major Python packages

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant