We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342f441 commit 5b01d3fCopy full SHA for 5b01d3f
.github/workflows/unit-tests.yml
@@ -85,12 +85,18 @@ jobs:
85
bash ./tests/run_code_style.sh install
86
bash ./tests/run_code_style.sh lint
87
88
+ - name: Ensure mypy is installed in uv environment
89
+ run: uv pip install mypy
90
- name: Run Mypy
- # https://github.com/pytorch/ignite/pull/2780
91
if: ${{ matrix.os == 'ubuntu-latest' && matrix.pytorch-channel == 'pytorch-nightly'}}
92
run: |
93
bash ./tests/run_code_style.sh mypy
-
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
100
# Download MNIST: https://github.com/pytorch/ignite/issues/1737
101
# to "/tmp" for unit tests
102
- name: Download MNIST
0 commit comments