Revision 457ddf89341f5ac22641eda524747fa2ad628a2f authored by Jesper Nielsen on 08 March 2022, 13:31:32 UTC, committed by GitHub on 08 March 2022, 13:31:32 UTC
1 parent 18253ba
Raw File
mypy.ini
[mypy]
; First we turn on *all the checks*, and then we turn off those that are too annoying.
strict = True
ignore_missing_imports = True
disallow_subclassing_any = False
disallow_untyped_calls = False
disallow_untyped_decorators = False
; This is needed because version 1.20.0 of NumPy introduces typing, so some ignores are necessary /
; unnecessary depending on the version of numpy:
warn_unused_ignores = False
; It would actually be good to disallow implicit reexport, but that will take some effort to be
; strict about our use of __all__.
implicit_reexport = True
; Remove this when we think we're done.
warn_return_any = False
back to top