Skip to content

Commit

Permalink
Let mypy enforce type annotations only in bring_api module (#87)
Browse files Browse the repository at this point in the history
Mypy checks type defs only in bring_api module
  • Loading branch information
tr4nt0r authored Sep 24, 2024
1 parent ea0daab commit 415fad0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
disallow_untyped_defs = false
warn_return_any = true
warn_unreachable = true

[[tool.mypy.overrides]]
module = "bring_api"
disallow_untyped_defs = true

0 comments on commit 415fad0

Please sign in to comment.