Skip to content

Commit

Permalink
Enable disallow_untyped_defs for mypy (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev authored Mar 13, 2021
1 parent 852edf8 commit 3fa72d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pytest-parametrize-values-row-type = tuple
profile = black

[mypy]
disallow_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
Expand All @@ -84,3 +85,6 @@ warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true

[mypy-tests.*]
disallow_untyped_defs = false

0 comments on commit 3fa72d0

Please sign in to comment.