Skip to content

Commit

Permalink
Merge mypy.ini into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
trickeydan committed Feb 26, 2024
1 parent e5e4b6e commit 9fa4030
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
18 changes: 0 additions & 18 deletions mypy.ini

This file was deleted.

19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,21 @@ extend-ignore = [
"COM812", # Conflicts with formatter
"N999", # Invalid module name
"S101", # S101 Use of `assert` detected
]
]

[tool.mypy]
warn_unused_ignores = true
warn_return_any = true

strict_optional = true
no_implicit_optional = true

disallow_any_unimported = true
disallow_subclassing_any = true

disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true

check_untyped_defs = true

0 comments on commit 9fa4030

Please sign in to comment.