Skip to content

Commit

Permalink
Merge pull request #374 from pyt-team/frantzen/mypy-update-config
Browse files Browse the repository at this point in the history
Update mypy config
  • Loading branch information
ffl096 authored Jun 21, 2024
2 parents 510eba3 + 31de2fd commit e723177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ include = [

[tool.mypy]
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
disable_error_code = ["import-untyped"]
plugins = "numpy.typing.mypy_plugin"

Expand Down

0 comments on commit e723177

Please sign in to comment.