-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Added Vulture dead code checker #5654
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
Changes from all commits
37e1340
9c6f77c
539e321
a402896
8f4f05a
5a4346f
6dbfb51
605cffd
d7a5259
563f451
0948212
cd34d9e
9e1a2b6
5f4d533
21dc1f3
9e446e0
e233e2f
b597beb
4bdbb82
77b2cd4
6b53480
aa8449b
0966902
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -154,7 +154,3 @@ cifar-10-batches-py | |
| *.pt | ||
| # ctags | ||
| tags | ||
| data | ||
| MNIST | ||
| runs | ||
| *trace* | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,7 +90,7 @@ def __enter__(self) -> None: | |
|
|
||
| self._handles[module_name] = [pre_forward_handle, post_forward_handle] | ||
|
|
||
| def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: | ||
| def __exit__(self, type: Any, value: Any, traceback: Any) -> None: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. type is a built-in keyword.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Vulture picks up
|
||
| for handles in self._handles.values(): | ||
| for h in handles: | ||
| h.remove() | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.