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

Don't shadow builtins #1498

Merged
merged 7 commits into from
May 3, 2023
Merged

Don't shadow builtins #1498

merged 7 commits into from
May 3, 2023

Conversation

cidrblock
Copy link
Collaborator

@cidrblock cidrblock commented Apr 27, 2023

Fix finding from A003, builtin-attribute-shadowing

PEP8 suggests using a trailing underscore.

single_trailing_underscore_: used by convention to avoid conflicts with Python keyword, e.g.

Seemed like a fine approach

@ssbarnea ssbarnea requested a review from shatakshiiii May 3, 2023 09:40
@ssbarnea ssbarnea enabled auto-merge (squash) May 3, 2023 09:41
@ssbarnea ssbarnea merged commit 038b3e1 into ansible:main May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants