Skip to content

Commit

Permalink
Show error codes from mypy runs
Browse files Browse the repository at this point in the history
Now it prints something like `[arg-type]` when it errors, so you can add
`# type: ignore[arg-type]` and be specific
about the error you are silencing
  • Loading branch information
NickCrews committed Jun 12, 2022
1 parent 161f455 commit 3e7d4bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -5,8 +5,9 @@ requires = ["setuptools",

[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
ignore_missing_imports = true
files = "dedupe"
show_error_codes = true
ignore_missing_imports = true
check_untyped_defs = true

[tool.pytest.ini_options]
Expand Down

0 comments on commit 3e7d4bd

Please sign in to comment.