diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 1829fe62..0d630e3f 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 --show-traceback --config-file pyproject.toml + run: mypy --config-file pyproject.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c41e8ff..6cc11653 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,6 @@ repos: hooks: - id: mypy args: [ - '--show-traceback', '--config-file=pyproject.toml' ] fail_fast: true diff --git a/pyproject.toml b/pyproject.toml index 3248b02c..960bb4a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,6 +82,7 @@ enable_error_code = [ "unimported-reveal", "unused-awaitable", ] +show_traceback = true strict = true strict_bytes = true warn_unreachable = true