Skip to content

Commit

Permalink
Add [tool.mypy] to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Oct 7, 2023
1 parent 7097c76 commit 7c11a56
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ exclude_lines = [
precision = 1
show_missing = true

[tool.mypy]
ignore_missing_imports = true
python_version = 3.8

pretty = true

check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
show_error_context = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true

[tool.pytest.ini_options]
testpaths = [
"test",
Expand Down

0 comments on commit 7c11a56

Please sign in to comment.