[BE]: Update mypy to 1.13.0 (#140808)

Update mypy to 1.13.0 . Should hopefully reduce linting time. Has support for orjson cache serialization which should improve mypy cache perf if orjson is installed.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/140808
Approved by: https://github.com/ezyang, https://github.com/malfet
This commit is contained in:
Aaron Gokaslan
2024-12-02 18:47:54 +00:00
committed by PyTorch MergeBot
parent 9012e7a62f
commit 00134d68af
31 changed files with 116 additions and 70 deletions

View File

@ -89,7 +89,7 @@ class _ConvNd(Module):
out_channels: int,
kernel_size: Tuple[int, ...],
stride: Tuple[int, ...],
padding: Tuple[int, ...],
padding: Union[str, Tuple[int, ...]],
dilation: Tuple[int, ...],
transposed: bool,
output_padding: Tuple[int, ...],