Enable tracebacks when running mypy (#3425)
This will make it easier to diagnose intermittent mypy crashes
This commit is contained in:
parent
914ff2002f
commit
9a939d8378
|
|
@ -20,4 +20,4 @@ jobs:
|
||||||
- run: python --version
|
- run: python --version
|
||||||
- run: mypy --version
|
- run: mypy --version
|
||||||
- name: run mypy
|
- name: run mypy
|
||||||
run: mypy --config-file pyproject.toml
|
run: mypy --show-traceback --config-file pyproject.toml
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [
|
args: [
|
||||||
|
'--show-traceback',
|
||||||
'--config-file=pyproject.toml'
|
'--config-file=pyproject.toml'
|
||||||
]
|
]
|
||||||
fail_fast: true
|
fail_fast: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue