Enable tracebacks when running mypy (#3425)

This will make it easier to diagnose intermittent mypy crashes
This commit is contained in:
correctmost 2025-05-02 18:20:47 -04:00 committed by GitHub
parent 914ff2002f
commit 9a939d8378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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