Commit 719f6d9
committed
typing: Cast transpose to ArrayLike
Sonnet 4's summary:
> The mypy error occurred because the transpose() method on line 659 was
> returning a value that mypy inferred as Any, while the function signature
> declared it should return ArrayLike. Mypy's no-any-return rule flags when
> you return an Any value from a function with a specific return type annotation.1 parent 0e55857 commit 719f6d9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
0 commit comments