mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-27 06:20:25 +00:00
Apply per file flags corresponding to --strict to wormholetesting.py
This commit is contained in:
parent
8ccbd37d29
commit
10b3eabed4
2
mypy.ini
2
mypy.ini
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user