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

style: sort imports #182

Merged
merged 2 commits into from
Mar 9, 2022
Merged

style: sort imports #182

merged 2 commits into from
Mar 9, 2022

Conversation

jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Feb 27, 2022

fixes #85

  • added QA tool: isort
  • added QA tests: flake8-isort
  • applied isort to all code, so imports are sorted

@jkowalleck jkowalleck requested a review from a team as a code owner February 27, 2022 10:01
@@ -0,0 +1,17 @@
[settings]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these settings are opinionated,
feel free to change them, @madpah

@jkowalleck jkowalleck changed the title chore: sort imports style: sort imports Feb 27, 2022
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck added the QA Quality Assurance label Feb 27, 2022
@jkowalleck jkowalleck requested a review from madpah March 3, 2022 08:19
Copy link
Collaborator

@madpah madpah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkowalleck always love some QA stuff :-)

What about a pre-commit hook to allow this to be easier adopted by developers?

@madpah
Copy link
Collaborator

madpah commented Mar 8, 2022

@jkowalleck
Copy link
Member Author

pre-commit hooks are nice addition, that developers need to enable per project.
they can be an addition to this PR, after isort or similar QA tool was setup for the project.

@madpah madpah merged commit aa37e56 into main Mar 9, 2022
@madpah madpah deleted the sort-imports branch March 9, 2022 08:18
@madpah madpah mentioned this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA Quality Assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[STYLE] Sort imports
2 participants