Enable mypy's show_traceback option in pyproject.toml (#3514)
This makes it easier to debug mypy crashes when running 'mypy' in the project directory.
This commit is contained in:
parent
df8cb4fb39
commit
5aa1c90b12
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ repos:
|
|||
hooks:
|
||||
- id: mypy
|
||||
args: [
|
||||
'--show-traceback',
|
||||
'--config-file=pyproject.toml'
|
||||
]
|
||||
fail_fast: true
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ enable_error_code = [
|
|||
"unimported-reveal",
|
||||
"unused-awaitable",
|
||||
]
|
||||
show_traceback = true
|
||||
strict = true
|
||||
strict_bytes = true
|
||||
warn_unreachable = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue