Commit 56abc96
Fixes mypy errors. (#1058)
Summary:
- Fixes issues in visualization related to original_image being optional.
- Ignore typing error in test.
- Move mypy run for tests to the end as they are lower priority.
Pull Request resolved: #1058
Test Plan:
run ./scripts/run_mypy.sh
Comes back clean.
Reviewed By: NarineK
Differential Revision: D41037090
Pulled By: cyrjano
fbshipit-source-id: 896160e32e203439b024ad9122db7a991c4f41361 parent 5543b4a commit 56abc96
File tree
3 files changed
+15
-10
lines changed- captum/attr/_utils
- scripts
- tests/attr
3 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
| |||
284 | 288 | | |
285 | 289 | | |
286 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
| |||
684 | 691 | | |
685 | 692 | | |
686 | 693 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
| 694 | + | |
691 | 695 | | |
692 | 696 | | |
693 | 697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments