File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,18 @@ jobs:
8585 bash ./tests/run_code_style.sh install
8686 bash ./tests/run_code_style.sh lint
8787
88+ - name : Ensure mypy is installed in uv environment
89+ run : uv pip install mypy
8890 - name : Run Mypy
89- # https://github.com/pytorch/ignite/pull/2780
9091 if : ${{ matrix.os == 'ubuntu-latest' && matrix.pytorch-channel == 'pytorch-nightly'}}
9192 run : |
9293 bash ./tests/run_code_style.sh mypy
93-
94+ - name : Run Mypy
95+ # https://github.com/pytorch/ignite/pull/2780
96+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.pytorch-channel == 'pytorch-nightly'}}
97+ run : |
98+ uv pip install mypy
99+ uv mypy --config-file mypy.ini
94100 # Download MNIST: https://github.com/pytorch/ignite/issues/1737
95101 # to "/tmp" for unit tests
96102 - name : Download MNIST
You can’t perform that action at this time.
0 commit comments