Skip to content

Commit cba1de5

Browse files
authored
Don't specify a subdir in mypy CI cli (#9416)
* Don't specify a subdir in mypy CI cli We should test that a simple `mypy` invocation works, because that's what's expected to run locally, and instead move any arguments to config files (I hit this because I'm getting type errors locally, though this doesn't fix them, it eliminates a source of difference)
1 parent d33e4ad commit cba1de5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-additional.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
128128
- name: Run mypy
129129
run: |
130-
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/
130+
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
131131
132132
- name: Upload mypy coverage to Codecov
133133
uses: codecov/codecov-action@v4.5.0
@@ -138,7 +138,7 @@ jobs:
138138
name: codecov-umbrella
139139
fail_ci_if_error: false
140140

141-
mypy39:
141+
mypy-min:
142142
name: Mypy 3.10
143143
runs-on: "ubuntu-latest"
144144
needs: detect-ci-trigger
@@ -181,7 +181,7 @@ jobs:
181181
182182
- name: Run mypy
183183
run: |
184-
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/
184+
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
185185
186186
- name: Upload mypy coverage to Codecov
187187
uses: codecov/codecov-action@v4.5.0

0 commit comments

Comments
 (0)