Skip to content

Commit

Permalink
dev: display specific mypy error codes
Browse files Browse the repository at this point in the history
Now you can #type: ignore[specific-code]
  • Loading branch information
NickCrews committed Aug 30, 2022
1 parent f193146 commit 133d744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ requires = ["setuptools",
"cython"]

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

[tool.pytest.ini_options]
minversion = "7.1"
Expand Down

0 comments on commit 133d744

Please sign in to comment.