Apply per file flags corresponding to --strict to wormholetesting.py

This commit is contained in:
dlee 2023-03-08 15:19:08 -06:00
parent 8ccbd37d29
commit 10b3eabed4
2 changed files with 2 additions and 1 deletions
mypy.ini
src/allmydata/test/cli

@ -7,4 +7,4 @@ show_error_codes = True
warn_unused_configs =True
no_implicit_optional = True
warn_redundant_casts = True
strict_equality = True
strict_equality = True

@ -29,6 +29,7 @@ For example::
import wormhole
run(peerA(wormhole))
"""
# mypy: warn-unused-configs, disallow-any-generics, disallow-subclassing-any, disallow-untyped-calls, disallow-untyped-defs, disallow-incomplete-defs, check-untyped-defs, disallow-untyped-decorators, warn-redundant-casts, warn-unused-ignores, warn-return-any, no-implicit-reexport, strict-equality, strict-concatenate
from __future__ import annotations