mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add mypy support
This commit is contained in:
16
mypy.ini
Normal file
16
mypy.ini
Normal file
@ -0,0 +1,16 @@
|
||||
[mypy]
|
||||
|
||||
check_untyped_defs = True
|
||||
disallow_incomplete_defs = True
|
||||
disallow_untyped_defs = True
|
||||
disallow_any_generics = True
|
||||
disallow_untyped_calls = True
|
||||
disallow_untyped_decorators = True
|
||||
disallow_subclassing_any = True
|
||||
ignore_missing_imports = True
|
||||
strict_optional = True
|
||||
strict_equality = True
|
||||
warn_redundant_casts = True
|
||||
warn_return_any = True
|
||||
warn_unused_configs = True
|
||||
warn_unused_ignores = True
|
||||
Reference in New Issue
Block a user