File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7272 script : |
7373 set -euo pipefail
7474
75- export PYTHON_VERSION=3.9
75+ export PYTHON_VERSION=3.11
7676 export GPU_ARCH_TYPE=cpu
7777 export GPU_ARCH_VERSION=''
7878
8383 conda activate ci
8484
8585 echo '::group::Install lint tools'
86- pip install --progress-bar=off mypy
86+ pip install --progress-bar=off " mypy==1.13.0"
8787 echo '::endgroup::'
8888
8989 echo '::group::Lint Python types'
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ def __init__(
688688 p_stochastic = p_stochastic [p_idx : p_idx + num_layers ],
689689 ),
690690 )
691- input_size = self .blocks [- 1 ].grid_size
691+ input_size = self .blocks [- 1 ].grid_size # type: ignore[assignment]
692692 p_idx += num_layers
693693
694694 # see https://github.com/google-research/maxvit/blob/da76cf0d8a6ec668cc31b399c4126186da7da944/maxvit/models/maxvit.py#L1137-L1158
You can’t perform that action at this time.
0 commit comments