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

vmware: Add pylint disable to skip unused imports #58

Conversation

GomathiselviS
Copy link
Collaborator

@GomathiselviS GomathiselviS commented May 1, 2023

SUMMARY

Some of the vmware module files throw sanity errors because of unused imports. This PR disables pylint unused import checks on the lines in the template file.

Errors seen here - https://github.com/ansible-collections/vmware.vmware_rest/actions/runs/4852914889/jobs/8648491794

ISSUE TYPE
  • Bugfix Pull Request
  • Docs Pull Request
  • Feature Pull Request
  • Test Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

@mariolenz
Copy link
Contributor

@GomathiselviS I would very much prefer to not ignore those sanity tests. I guess there are good reasons for them...

I've fixed the sanity errors in ansible-collections/vmware.vmware_rest#432 by removing the unused imports with autoflake. This was quite simple and has the advantage of not having to ignore any sanity tests.

Maybe we should discuss this in #67.

@GomathiselviS
Copy link
Collaborator Author

Closing this PR as #70 fixes the issue.

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.

2 participants