ansible-collections / ansible-collections/cloud.common

ERROR: Found 4 pylint issue(s) which need to be resolved

Open
#195 0 comments 0 reactions 0 assignees View on GitHub
jira
Dominant language
Python
Stars
19
Forks
28
PR merge metrics
No merged PRs in 30d

Description

##### SUMMARY
Multiple sanity tests are failing in the CI due to pylint failures

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
pylint

##### ANSIBLE VERSION

```
stable-2.20

```

##### COLLECTION VERSION
```
latest (main branch)

```

##### OS / ENVIRONMENT
Github CI

##### STEPS TO REPRODUCE
Run the sanity tests in the CI

##### EXPECTED RESULTS
All pylint checks are passing

##### ACTUAL RESULTS
```
ERROR: Found 4 pylint issue(s) which need to be resolved:
ERROR: plugins/module_utils/turbo/server.py:231:8: ansible-bad-module-import: Import external package or ansible.module_utils not ansible.plugins.loader
ERROR: plugins/module_utils/turbo/server.py:233:8: ansible-bad-module-import: Import external package or ansible.module_utils not ansible.parsing.dataloader
ERROR: plugins/module_utils/turbo/server.py:234:8: ansible-bad-module-import: Import external package or ansible.module_utils not ansible.template
ERROR: plugins/module_utils/turbo/server.py:376:12: ansible-bad-module-import: Import external package or ansible.module_utils not ansible.plugins.loader
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/pylint.html
```

Contributor guide

Open the contributing guide

Research direction

Start with plugins/module_utils/turbo/server.py at lines 231, 233, 234, and 376, then review the referenced pylint sanity-test documentation. Run the sanity tests in CI and verify that all four ansible-bad-module-import errors are resolved and the pylint checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.