@@ -110,8 +110,9 @@ exclude = [
110110 ' IPython/sphinxext/ipython_directive.py' ,
111111 ' IPython/terminal/ipapp.py' ,
112112 ' IPython/utils/path.py' ,
113+ ' IPython/core/debugger_backport.py' ,
113114]
114- # check_untyped_defs = true
115+ check_untyped_defs = true
115116# disallow_untyped_calls = true
116117# disallow_untyped_decorators = true
117118# ignore_errors = false
@@ -126,6 +127,7 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
126127[[tool .mypy .overrides ]]
127128module = [
128129 " IPython.core.crashhandler" ,
130+ " IPython.utils.text" ,
129131]
130132check_untyped_defs = true
131133disallow_incomplete_defs = true
@@ -135,25 +137,17 @@ disallow_untyped_defs = true
135137ignore_errors = false
136138ignore_missing_imports = false
137139
138- [[tool .mypy .overrides ]]
139- module = [
140- " IPython.utils.text" ,
141- ]
142- disallow_untyped_defs = true
143- check_untyped_defs = false
144- disallow_untyped_decorators = true
145-
146140[[tool .mypy .overrides ]]
147141module = [
148142 " IPython.core.ultratb" ,
149143]
144+ check_untyped_defs = true
145+ disallow_incomplete_defs = true
146+ disallow_untyped_calls = false
147+ disallow_untyped_decorators = true
150148disallow_untyped_defs = false
151149ignore_errors = false
152150ignore_missing_imports = false
153- disallow_untyped_calls = false
154- disallow_incomplete_defs = true
155- check_untyped_defs = true
156- disallow_untyped_decorators = true
157151
158152[[tool .mypy .overrides ]]
159153module = [
@@ -315,7 +309,7 @@ ignore_errors = true
315309ignore_missing_imports = true
316310disallow_untyped_calls = false
317311disallow_incomplete_defs = false
318- check_untyped_defs = false
312+ check_untyped_defs = true
319313disallow_untyped_decorators = false
320314
321315[tool .pytest .ini_options ]
0 commit comments