@@ -111,8 +111,9 @@ exclude = [
111111 ' IPython/sphinxext/ipython_directive.py' ,
112112 ' IPython/terminal/ipapp.py' ,
113113 ' IPython/utils/path.py' ,
114+ ' IPython/core/debugger_backport.py' ,
114115]
115- # check_untyped_defs = true
116+ check_untyped_defs = true
116117# disallow_untyped_calls = true
117118# disallow_untyped_decorators = true
118119# ignore_errors = false
@@ -127,6 +128,7 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
127128[[tool .mypy .overrides ]]
128129module = [
129130 " IPython.core.crashhandler" ,
131+ " IPython.utils.text" ,
130132]
131133check_untyped_defs = true
132134disallow_incomplete_defs = true
@@ -138,23 +140,15 @@ ignore_missing_imports = false
138140
139141[[tool .mypy .overrides ]]
140142module = [
141- " IPython.utils.text " ,
143+ " IPython.core.ultratb " ,
142144]
143- disallow_untyped_defs = true
144145check_untyped_defs = true
146+ disallow_incomplete_defs = true
147+ disallow_untyped_calls = false
145148disallow_untyped_decorators = true
146-
147- [[tool .mypy .overrides ]]
148- module = [
149- " IPython.core.ultratb" ,
150- ]
151149disallow_untyped_defs = false
152150ignore_errors = false
153151ignore_missing_imports = false
154- disallow_untyped_calls = false
155- disallow_incomplete_defs = true
156- check_untyped_defs = true
157- disallow_untyped_decorators = true
158152
159153[[tool .mypy .overrides ]]
160154module = [
0 commit comments