-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
Annotate utils/amp_manager.py
#1553
base: main
Are you sure you want to change the base?
Conversation
This pull request introduces 1 alert when merging a77761c into 0a2f54e - view on LGTM.com new alerts:
|
for more information, see https://pre-commit.ci
return ( | ||
val if val is not None | ||
else opt( | ||
'manager_%s' % name) or getattr(client, name, None) or default | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR should keep the diff as small as possible. Please remove this reformatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR also needs to include the name of the file in the mypy file list, I guess.
Related to #1511