Skip to content

Commit

Permalink
chore(mypy): enable strict mode and more error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Oct 1, 2022
1 parent 55aa5fd commit 141b58e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ profile = "black"

[tool.mypy]
files = ["deptry", "scripts"]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = false
warn_unused_ignores = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
warn_unreachable = true
pretty = true
show_error_codes = true
ignore_missing_imports = true

[tool.deptry]
exclude = [
Expand Down

0 comments on commit 141b58e

Please sign in to comment.