Repository navigation
Commit 1bb2119
build(tox): let a
The tox `mypy` environment has `ignore_outcome = true`, so a failure
there is reported but does not fail the run. 4bea7cf (gitpython-developers#1667) added
that to match CI, where the mypy step had `continue-on-error: true`
because GitPython was not expected to pass mypy at the time. But
50762f1 (gitpython-developers#2087) removed `continue-on-error` from that step, so a mypy
failure has failed CI since then, and mypy passes there on every
Python version the `test` job covers. The tox environment was never
updated to match.
Now that tox also runs in the weekly `tox` workflow, this matters
more: as things were, that workflow could not fail because of the
`mypy` environment, even if the environment could not be set up at
all.
Remove `ignore_outcome`, so `mypy` failures fail tox as they fail CI.
The `mypy` environment passed, with `ignore_outcome` false, on each of
Python 3.9.6, 3.10.22, and 3.13.17, selected with
`-x tool.tox.env.mypy.base_python=py39` and so on ("Success: no
issues found in 40 source files"). 3.9 and 3.10 are in its
`base_python` list, though CI only type-checks on 3.11 and later.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>mypy failure fail the tox run1 parent 851f47c commit 1bb2119
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
0 commit comments