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

Reduce complexity of logging try-catch + add typing #1380

Closed
wants to merge 7 commits into from

Conversation

craymichael
Copy link
Contributor

Summary: 'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308

Zach Carmichael added 6 commits October 16, 2024 14:38
Summary: Reduce complexity of DataParallelMeta.make_single_dp_test

Differential Revision: D64370178
Summary:
Pull Request resolved: pytorch#1370

Reduce complexity of 'LimeBase.attribute'

Differential Revision: D64372053
Summary: Reduce complexity of 'sgd_train_linear_model'

Differential Revision: D64432524
Summary: Reduce complexity of 'sklearn_train_linear_model'

Differential Revision: D64438317
Summary: Reduce complexity of 'infidelity'

Differential Revision: D64451749
Summary: Reduce complexity of 'NoiseTunnel.attribute'

Differential Revision: D64502047
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64511308

craymichael added a commit to craymichael/captum that referenced this pull request Oct 17, 2024
Summary:

'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308
Summary:
Pull Request resolved: pytorch#1380

'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64511308

craymichael added a commit to craymichael/captum that referenced this pull request Oct 17, 2024
Summary:

'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308
craymichael pushed a commit to craymichael/captum that referenced this pull request Oct 17, 2024
Summary:
Pull Request resolved: pytorch#1380

'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308
craymichael pushed a commit to craymichael/captum that referenced this pull request Oct 17, 2024
Summary:
Pull Request resolved: pytorch#1380

'TryExcept 6' is too complex (13) See https://www.flake8rules.com/rules/C901.html

Differential Revision: D64511308
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8dc48a5.

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.

2 participants