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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce isort to check import order #501

Closed
wants to merge 2 commits into from

Conversation

tkrabel
Copy link
Contributor

@tkrabel tkrabel commented Dec 22, 2023

This is just me getting as many file changes into this project as possible for fame and glory 馃帀

Fun aside, a couple of times already I had to address some import order things, and TBH, I am just not good at spotting that. That's why I think it's helpful using isort. Since we're using black as well, it's recommended to use the black profile for isort.

This PR adds isort checks to the static code analysis pipeline and runs isort --profile black on the repo once.

@tkrabel
Copy link
Contributor Author

tkrabel commented Dec 22, 2023

@ccordoba12 this addresses #499 (comment)

@tkrabel
Copy link
Contributor Author

tkrabel commented Dec 24, 2023

Actually, using ruff is even better. #502

@tkrabel tkrabel closed this Dec 24, 2023
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.

None yet

1 participant