Add warn_unreachable=True mypy config
This commit is contained in:
parent
dcfeb3e38a
commit
cab0e0c1c4
1
mypy.ini
1
mypy.ini
|
@ -9,6 +9,7 @@ disallow_any_generics = True
|
||||||
disallow_untyped_calls = True
|
disallow_untyped_calls = True
|
||||||
warn_redundant_casts = True
|
warn_redundant_casts = True
|
||||||
warn_unused_configs = True
|
warn_unused_configs = True
|
||||||
|
warn_unreachable = True
|
||||||
strict_equality = True
|
strict_equality = True
|
||||||
|
|
||||||
[mypy-libp2p.kademlia.*]
|
[mypy-libp2p.kademlia.*]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user