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

use a generator rather than list comprehension when using any() #465

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Aug 12, 2021

SUMMARY

pylint cleanup

See also https://www.python.org/dev/peps/pep-0289/#rationale

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

plugins/inventory/aws_ec2.py
plugins/modules/ec2_group.py

ADDITIONAL INFORMATION

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review inventory inventory plugin module module needs_triage plugins plugin (any type) tests tests labels Aug 12, 2021
@tremble tremble added the gate label Aug 13, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit 1345e92 into ansible-collections:main Aug 13, 2021
@tremble tremble deleted the pylint/generator branch November 26, 2021 12:42
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug community_review inventory inventory plugin module module needs_triage plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants