From 9a939d8378139ad3a8dbbdcd9073c370742295bb Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Fri, 2 May 2025 18:20:47 -0400 Subject: [PATCH] Enable tracebacks when running mypy (#3425) This will make it easier to diagnose intermittent mypy crashes --- .github/workflows/mypy.yaml | 2 +- .pre-commit-config.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 0d630e3f..1829fe62 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -20,4 +20,4 @@ jobs: - run: python --version - run: mypy --version - name: run mypy - run: mypy --config-file pyproject.toml + run: mypy --show-traceback --config-file pyproject.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30d84101..ebc7e132 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,6 +39,7 @@ repos: hooks: - id: mypy args: [ + '--show-traceback', '--config-file=pyproject.toml' ] fail_fast: true