make mypy as strict as possible
This commit is contained in:
parent
d972957303
commit
c2cd8786d1
|
@ -123,3 +123,11 @@ target-version = ['py38']
|
|||
[tool.check-wheel-contents]
|
||||
# W009: Wheel contains multiple toplevel library entries
|
||||
ignore = "W009"
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
disallow_untyped_defs = false
|
||||
disallow_incomplete_defs = false
|
||||
disallow_untyped_calls = false
|
||||
warn_unused_ignores = false
|
||||
ignore_missing_imports = true
|
||||
|
|
|
@ -8,7 +8,7 @@ import asynctest
|
|||
teardowns: List[None] = []
|
||||
|
||||
|
||||
class Test(asynctest.TestCase):
|
||||
class Test(asynctest.TestCase): # type: ignore[misc]
|
||||
async def tearDown(self):
|
||||
teardowns.append(None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue