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

Switch to Ruff for code formatting and import sorting #86

Open
a-musing-moose opened this issue Feb 27, 2025 · 0 comments · May be fixed by #87
Open

Switch to Ruff for code formatting and import sorting #86

a-musing-moose opened this issue Feb 27, 2025 · 0 comments · May be fixed by #87
Assignees
Labels
enhancement New feature or request

Comments

@a-musing-moose
Copy link
Contributor

🎯Aim

When developing I'd like to use Ruff for code formatting and import sorting as it is very fast, and reduces the number of development tools needed.

📕Context

We currently use black for code formatting, and isort for import sorting. The job of both these tools can now be performed by ruff. Whilst in the early days of black it occasionally clashed with isort that is no longer the case. So this is more about reducing the number of development tools needed - and the possibility of expanding the use of Ruff later on to also manage linting.

📝Relevant resources/doc's/people

✅Acceptance Criteria

  • Black and Isort are removed from the list of dependencies
  • Ruff is added to the list of dependencies
  • The format invoke task is switched to using ruff for both code formatting and import sorting.
@a-musing-moose a-musing-moose added the enhancement New feature or request label Feb 27, 2025
@a-musing-moose a-musing-moose linked a pull request Feb 27, 2025 that will close this issue
@a-musing-moose a-musing-moose self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant