Skip to content

ruff and isort#9

Open
mredaelli wants to merge 1 commit intomainfrom
ruff
Open

ruff and isort#9
mredaelli wants to merge 1 commit intomainfrom
ruff

Conversation

@mredaelli
Copy link
Copy Markdown
Collaborator

This is an example of how the source code would look automatically formatted with isort and ruff.

It removes problems of whitespace mismatch, cleans up stuff that can be automatically fixed (like unused imports), makes diffs easier to follow, and improves uniformity in general.

If it is not too painful, I'd recommend adding this to the workflow (it can run automatically when you commit and fix whatever needs to be fixed).

But do not merge this one. It's just to give you a taste :) We can do it when there are no MRs pending so we don't step on each other's feet.

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.

1 participant