parent
d997d40f17
commit
e55d071a3e
1 changed files with 11 additions and 1 deletions
@ -1,4 +1,14 @@ |
|||||||
[mypy] |
[mypy] |
||||||
python_version = 3.8 |
python_version = 3.8 |
||||||
ignore_missing_imports = True |
|
||||||
plugins = numpy.typing.mypy_plugin |
plugins = numpy.typing.mypy_plugin |
||||||
|
|
||||||
|
; third-party packages |
||||||
|
ignore_missing_imports = True |
||||||
|
|
||||||
|
; helpful warnings |
||||||
|
warn_redundant_casts = True |
||||||
|
warn_unreachable = True |
||||||
|
warn_unused_ignores = True |
||||||
|
|
||||||
|
; restrict dynamic typing |
||||||
|
warn_return_any = True |
||||||
|
Loading…
Reference in new issue