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

Use ruff to autosort imports #995

Merged
merged 8 commits into from
Jul 9, 2024

Conversation

pietermarsman
Copy link
Member

@pietermarsman pietermarsman commented Jul 9, 2024

Pull request

Fixes #992.

Use ruff to autosort imports.

Ruff is also a formatter and a linter, so replacing flake8 and black with ruff as well.

How Has This Been Tested?

Nox.

And added ruff to the CI/CD.

Checklist

  • I have read CONTRIBUTING.md.
  • I have added a concise human-readable description of the change to CHANGELOG.md.
  • I have tested that this fix is effective or that this feature works.
  • I have added docstrings to newly created methods and classes.
  • I have updated the README.md and the readthedocs documentation. Or verified that this is not necessary.

@pietermarsman pietermarsman linked an issue Jul 9, 2024 that may be closed by this pull request
@pietermarsman pietermarsman changed the title 992 add isort and autoflake formatters Use ruff to autosort imports Jul 9, 2024
@pietermarsman pietermarsman added this pull request to the merge queue Jul 9, 2024
Merged via the queue into master with commit 27beee2 Jul 9, 2024
11 checks passed
@pietermarsman pietermarsman deleted the 992-add-isort-and-autoflake-formatters branch July 9, 2024 07:37
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

Successfully merging this pull request may close these issues.

Autosort imports
1 participant