@@ -136,6 +136,164 @@ exclude = [
136
136
' IPython/utils/_process_win32.py' ,
137
137
' IPython/utils/path.py' ,
138
138
]
139
+ disallow_untyped_defs = true
140
+ # ignore_errors = false
141
+ # ignore_missing_imports = false
142
+ # disallow_untyped_calls = true
143
+ disallow_incomplete_defs = true
144
+ # check_untyped_defs = true
145
+ # disallow_untyped_decorators = true
146
+ warn_redundant_casts = true
147
+
148
+ [[tool .mypy .overrides ]]
149
+ module = [
150
+ " IPython.utils.text" ,
151
+ ]
152
+ disallow_untyped_defs = false
153
+ check_untyped_defs = false
154
+ disallow_untyped_decorators = false
155
+
156
+
157
+ # gloabl ignore error
158
+ [[tool .mypy .overrides ]]
159
+ module = [
160
+ " IPython" ,
161
+ " IPython.conftest" ,
162
+ " IPython.core.alias" ,
163
+ " IPython.core.async_helpers" ,
164
+ " IPython.core.autocall" ,
165
+ " IPython.core.builtin_trap" ,
166
+ " IPython.core.compilerop" ,
167
+ " IPython.core.completer" ,
168
+ " IPython.core.completerlib" ,
169
+ " IPython.core.crashhandler" ,
170
+ " IPython.core.debugger" ,
171
+ " IPython.core.display" ,
172
+ " IPython.core.display_functions" ,
173
+ " IPython.core.display_trap" ,
174
+ " IPython.core.displayhook" ,
175
+ " IPython.core.displaypub" ,
176
+ " IPython.core.events" ,
177
+ " IPython.core.excolors" ,
178
+ " IPython.core.extensions" ,
179
+ " IPython.core.formatters" ,
180
+ " IPython.core.getipython" ,
181
+ " IPython.core.guarded_eval" ,
182
+ " IPython.core.history" ,
183
+ " IPython.core.historyapp" ,
184
+ " IPython.core.hooks" ,
185
+ " IPython.core.inputsplitter" ,
186
+ " IPython.core.inputtransformer" ,
187
+ " IPython.core.inputtransformer2" ,
188
+ " IPython.core.interactiveshell" ,
189
+ " IPython.core.logger" ,
190
+ " IPython.core.macro" ,
191
+ " IPython.core.magic" ,
192
+ " IPython.core.magic_arguments" ,
193
+ " IPython.core.magics.ast_mod" ,
194
+ " IPython.core.magics.auto" ,
195
+ " IPython.core.magics.basic" ,
196
+ " IPython.core.magics.code" ,
197
+ " IPython.core.magics.config" ,
198
+ " IPython.core.magics.display" ,
199
+ " IPython.core.magics.execution" ,
200
+ " IPython.core.magics.extension" ,
201
+ " IPython.core.magics.history" ,
202
+ " IPython.core.magics.logging" ,
203
+ " IPython.core.magics.namespace" ,
204
+ " IPython.core.magics.osm" ,
205
+ " IPython.core.magics.packaging" ,
206
+ " IPython.core.magics.pylab" ,
207
+ " IPython.core.magics.script" ,
208
+ " IPython.core.oinspect" ,
209
+ " IPython.core.page" ,
210
+ " IPython.core.payload" ,
211
+ " IPython.core.payloadpage" ,
212
+ " IPython.core.prefilter" ,
213
+ " IPython.core.profiledir" ,
214
+ " IPython.core.prompts" ,
215
+ " IPython.core.pylabtools" ,
216
+ " IPython.core.shellapp" ,
217
+ " IPython.core.splitinput" ,
218
+ " IPython.core.ultratb" ,
219
+ " IPython.extensions.autoreload" ,
220
+ " IPython.extensions.storemagic" ,
221
+ " IPython.external.qt_for_kernel" ,
222
+ " IPython.external.qt_loaders" ,
223
+ " IPython.lib.backgroundjobs" ,
224
+ " IPython.lib.clipboard" ,
225
+ " IPython.lib.demo" ,
226
+ " IPython.lib.display" ,
227
+ " IPython.lib.editorhooks" ,
228
+ " IPython.lib.guisupport" ,
229
+ " IPython.lib.latextools" ,
230
+ " IPython.lib.lexers" ,
231
+ " IPython.lib.pretty" ,
232
+ " IPython.paths" ,
233
+ " IPython.sphinxext.ipython_console_highlighting" ,
234
+ " IPython.terminal.debugger" ,
235
+ " IPython.terminal.embed" ,
236
+ " IPython.terminal.interactiveshell" ,
237
+ " IPython.terminal.magics" ,
238
+ " IPython.terminal.prompts" ,
239
+ " IPython.terminal.pt_inputhooks" ,
240
+ " IPython.terminal.pt_inputhooks.asyncio" ,
241
+ " IPython.terminal.pt_inputhooks.glut" ,
242
+ " IPython.terminal.pt_inputhooks.gtk" ,
243
+ " IPython.terminal.pt_inputhooks.gtk3" ,
244
+ " IPython.terminal.pt_inputhooks.gtk4" ,
245
+ " IPython.terminal.pt_inputhooks.osx" ,
246
+ " IPython.terminal.pt_inputhooks.pyglet" ,
247
+ " IPython.terminal.pt_inputhooks.qt" ,
248
+ " IPython.terminal.pt_inputhooks.tk" ,
249
+ " IPython.terminal.pt_inputhooks.wx" ,
250
+ " IPython.terminal.ptutils" ,
251
+ " IPython.terminal.shortcuts" ,
252
+ " IPython.terminal.shortcuts.auto_match" ,
253
+ " IPython.terminal.shortcuts.auto_suggest" ,
254
+ " IPython.terminal.shortcuts.filters" ,
255
+ " IPython.utils._process_cli" ,
256
+ " IPython.utils._process_common" ,
257
+ " IPython.utils._process_emscripten" ,
258
+ " IPython.utils._process_posix" ,
259
+ " IPython.utils.capture" ,
260
+ " IPython.utils.coloransi" ,
261
+ " IPython.utils.contexts" ,
262
+ " IPython.utils.data" ,
263
+ " IPython.utils.decorators" ,
264
+ " IPython.utils.dir2" ,
265
+ " IPython.utils.encoding" ,
266
+ " IPython.utils.frame" ,
267
+ " IPython.utils.generics" ,
268
+ " IPython.utils.importstring" ,
269
+ " IPython.utils.io" ,
270
+ " IPython.utils.ipstruct" ,
271
+ " IPython.utils.module_paths" ,
272
+ " IPython.utils.openpy" ,
273
+ " IPython.utils.process" ,
274
+ " IPython.utils.py3compat" ,
275
+ " IPython.utils.sentinel" ,
276
+ " IPython.utils.shimmodule" ,
277
+ " IPython.utils.strdispatch" ,
278
+ " IPython.utils.sysinfo" ,
279
+ " IPython.utils.syspathcontext" ,
280
+ " IPython.utils.tempdir" ,
281
+ " IPython.utils.terminal" ,
282
+ " IPython.utils.timing" ,
283
+ " IPython.utils.tokenutil" ,
284
+ " IPython.utils.tz" ,
285
+ " IPython.utils.ulinecache" ,
286
+ " IPython.utils.version" ,
287
+ " IPython.utils.wildcard" ,
288
+
289
+ ]
290
+ disallow_untyped_defs = false
291
+ ignore_errors = true
292
+ ignore_missing_imports = true
293
+ disallow_untyped_calls = false
294
+ disallow_incomplete_defs = false
295
+ check_untyped_defs = false
296
+ disallow_untyped_decorators = false
139
297
140
298
[tool .pytest .ini_options ]
141
299
addopts = [
0 commit comments