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

Unused imports #545 #546

Merged
merged 3 commits into from
Jun 4, 2021
Merged

Unused imports #545 #546

merged 3 commits into from
Jun 4, 2021

Conversation

dliptai
Copy link
Contributor

@dliptai dliptai commented Jun 3, 2021

  • Remove unused imports
  • Add linter to CICD to check for unused imports on pull requests

@dliptai dliptai added the cleanup Clean up code label Jun 3, 2021
@dliptai dliptai linked an issue Jun 3, 2021 that may be closed by this pull request
@dliptai
Copy link
Contributor Author

dliptai commented Jun 3, 2021

I've also added checks for trailing whitespaces and no newlines at end of file.

This opens up a larger discussion about enforcing certain formatting in general.
For the time being I think these options (trailing whitespace, no newline at end of file, and unused imports) will suffice.
Any new formatting options can be easily added to the CICD pipeline.

Copy link
Contributor

@shiblisaleheen shiblisaleheen left a comment

Choose a reason for hiding this comment

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

Looks fine to me.

@dliptai dliptai merged commit 1d410cd into dev Jun 4, 2021
@dliptai dliptai deleted the unused-imports-#545 branch June 4, 2021 07:33
@ajstewart
Copy link
Contributor

Just to note that the changelog was not updated with this pull request and still needs this PR added. Please remember to update it with every PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Clean up code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unused imports
3 participants