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

Add unused-import & wrong-import-order check #98

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Conversation

Ruchip16
Copy link
Member

@Ruchip16 Ruchip16 commented Apr 13, 2023

The unused-import check ensures that there is no imported module unused in the codebase.

The wrong-import-order check ensures that the imported module follows recommended conventions. The recommended convention is to import built-in modules first, followed by third-party modules, and then local modules.
By following this convention, our code becomes more readable and easier to maintain, as it is easier to identify where each module is coming from.

Related to #85

@Ruchip16 Ruchip16 added the bug label Apr 13, 2023
@Ruchip16 Ruchip16 self-assigned this Apr 13, 2023
@Ruchip16 Ruchip16 requested a review from a team as a code owner April 13, 2023 16:20
@Ruchip16 Ruchip16 requested review from ganeshrn, trishnaguha, shatakshiiii, ssbarnea and cidrblock and removed request for a team April 13, 2023 16:20
@ssbarnea ssbarnea merged commit 8f56bbe into ansible:main Apr 13, 2023
@Ruchip16 Ruchip16 deleted the args branch April 13, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants