mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-04 07:16:55 +00:00
Enable additional pylint rules and resolve issues found. (#47221)
* Resolve unneeded-not. * Resolve global-at-module-level. * Resolve useless-import-alias. * Resolve bad-whitespace. * Resolve global-variable-not-assigned. * Resolve logging-not-lazy. * Resolve comparison-with-itself.
This commit is contained in:
parent
77d32b8f57
commit
37b013aca3
29 changed files with 42 additions and 53 deletions
|
|
@ -31,7 +31,7 @@ if not HAS_BOTO3:
|
|||
pytestmark = pytest.mark.skip("test_api_gateway.py requires the `boto3` and `botocore` modules")
|
||||
|
||||
# these are here cause ... boto!
|
||||
import ansible.modules.cloud.amazon.lambda_policy as lambda_policy
|
||||
from ansible.modules.cloud.amazon import lambda_policy
|
||||
from ansible.modules.cloud.amazon.lambda_policy import setup_module_object
|
||||
try:
|
||||
from botocore.exceptions import ClientError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue