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

Automatically sort imports (isort CLI tool) #2033

Merged
merged 6 commits into from Dec 14, 2021
Merged

Automatically sort imports (isort CLI tool) #2033

merged 6 commits into from Dec 14, 2021

Conversation

giampaolo
Copy link
Owner

Use isort CLI tool to sort import automatically + make it part of the CI testing.
Also add 2 makefile targets, one to sort imports, one to check if they are sorted.
Update GIT commit hook to check if imports are sorted on GIT commit.

Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
@giampaolo giampaolo merged commit 39dc44b into master Dec 14, 2021
@giampaolo giampaolo deleted the isort branch December 14, 2021 22:55
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