-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
multiple modules: removed unused imports #5240
multiple modules: removed unused imports #5240
Conversation
Co-authored-by: Felix Fontein <[email protected]>
Backport to stable-4: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 775be1d on top of patchback/backports/stable-4/775be1d3f3edb1b53049b625f2115f1b1f75179b/pr-5240 Backporting merged PR #5240 into main
🤖 @patchback |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5257 🤖 @patchback |
* multiple modules: removed unused imports * fixed ali_instance(_info) import check * add changelog fragment * Update changelogs/fragments/5240-unused-imports.yaml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 775be1d)
* multiple modules: removed unused imports * fixed ali_instance(_info) import check * add changelog fragment * Update changelogs/fragments/5240-unused-imports.yaml Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 775be1d) Co-authored-by: Alexei Znamensky <[email protected]>
@russoz thanks for your contribution :) |
SUMMARY
Removed many imports that are not used by their code.
ISSUE TYPE
COMPONENT NAME
plugins/modules/cloud/alicloud/ali_instance.py
plugins/modules/cloud/alicloud/ali_instance_info.py
plugins/modules/cloud/misc/proxmox.py
plugins/modules/cloud/misc/proxmox_domain_info.py
plugins/modules/cloud/misc/proxmox_group_info.py
plugins/modules/cloud/misc/proxmox_kvm.py
plugins/modules/cloud/misc/proxmox_nic.py
plugins/modules/cloud/misc/proxmox_snap.py
plugins/modules/cloud/misc/proxmox_storage_info.py
plugins/modules/cloud/misc/proxmox_tasks_info.py
plugins/modules/cloud/misc/proxmox_template.py
plugins/modules/cloud/misc/proxmox_user_info.py
plugins/modules/database/misc/redis.py
plugins/modules/monitoring/airbrake_deployment.py
plugins/modules/monitoring/datadog/datadog_downtime.py
plugins/modules/remote_management/imc/imc_rest.py
plugins/modules/remote_management/redfish/ilo_redfish_info.py
plugins/modules/system/sap_task_list_execute.py
plugins/modules/web_infrastructure/rundeck_job_executions_info.py
plugins/modules/web_infrastructure/rundeck_job_run.py