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

Update to comply with new black rules #13502

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

AlanCoding
Copy link
Member

SUMMARY

Failing checks on other PRs

I ran black awx awxkit

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@@ -128,7 +128,7 @@ def get_field_info(self, field):
# Special handling of notification configuration where the required properties
# are conditional on the type selected.
if field.field_name == 'notification_configuration':
for (notification_type_name, notification_tr_name, notification_type_class) in NotificationTemplate.NOTIFICATION_TYPES:
for notification_type_name, notification_tr_name, notification_type_class in NotificationTemplate.NOTIFICATION_TYPES:
Copy link
Member Author

Choose a reason for hiding this comment

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

this makes me uncomfortable

Copy link
Member Author

Choose a reason for hiding this comment

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

Never mind, I think I've convinced myself that since this is a for, it really is standard practice to not use (). The behavior is the same in either case.

@AlanCoding AlanCoding merged commit 93d84fe into ansible:devel Feb 1, 2023
@ryanpetrello
Copy link
Contributor

SHIP IT

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.

None yet

3 participants