##// END OF EJS Templates
MAINT: try to silence some coverage warnings (#14471)
M Bussonnier -
r28807:580137e7 merge
parent child Browse files
Show More
@@ -1,369 +1,375 b''
1 [build-system]
1 [build-system]
2 requires = ["setuptools>=61.2"]
2 requires = ["setuptools>=61.2"]
3 # We need access to the 'setupbase' module at build time.
3 # We need access to the 'setupbase' module at build time.
4 # Hence we declare a custom build backend.
4 # Hence we declare a custom build backend.
5 build-backend = "_build_meta" # just re-exports setuptools.build_meta definitions
5 build-backend = "_build_meta" # just re-exports setuptools.build_meta definitions
6 backend-path = ["."]
6 backend-path = ["."]
7
7
8 [project]
8 [project]
9 name = "ipython"
9 name = "ipython"
10 description = "IPython: Productive Interactive Computing"
10 description = "IPython: Productive Interactive Computing"
11 keywords = ["Interactive", "Interpreter", "Shell", "Embedding"]
11 keywords = ["Interactive", "Interpreter", "Shell", "Embedding"]
12 classifiers = [
12 classifiers = [
13 "Framework :: IPython",
13 "Framework :: IPython",
14 "Framework :: Jupyter",
14 "Framework :: Jupyter",
15 "Intended Audience :: Developers",
15 "Intended Audience :: Developers",
16 "Intended Audience :: Science/Research",
16 "Intended Audience :: Science/Research",
17 "License :: OSI Approved :: BSD License",
17 "License :: OSI Approved :: BSD License",
18 "Programming Language :: Python",
18 "Programming Language :: Python",
19 "Programming Language :: Python :: 3",
19 "Programming Language :: Python :: 3",
20 "Programming Language :: Python :: 3 :: Only",
20 "Programming Language :: Python :: 3 :: Only",
21 "Topic :: System :: Shells",
21 "Topic :: System :: Shells",
22 ]
22 ]
23 requires-python = ">=3.10"
23 requires-python = ">=3.10"
24 dependencies = [
24 dependencies = [
25 'colorama; sys_platform == "win32"',
25 'colorama; sys_platform == "win32"',
26 "decorator",
26 "decorator",
27 "exceptiongroup; python_version<'3.11'",
27 "exceptiongroup; python_version<'3.11'",
28 "jedi>=0.16",
28 "jedi>=0.16",
29 "matplotlib-inline",
29 "matplotlib-inline",
30 'pexpect>4.3; sys_platform != "win32" and sys_platform != "emscripten"',
30 'pexpect>4.3; sys_platform != "win32" and sys_platform != "emscripten"',
31 "prompt_toolkit>=3.0.41,<3.1.0",
31 "prompt_toolkit>=3.0.41,<3.1.0",
32 "pygments>=2.4.0",
32 "pygments>=2.4.0",
33 "stack_data",
33 "stack_data",
34 "traitlets>=5.13.0",
34 "traitlets>=5.13.0",
35 "typing_extensions>=4.6; python_version<'3.12'",
35 "typing_extensions>=4.6; python_version<'3.12'",
36 ]
36 ]
37 dynamic = ["authors", "license", "version"]
37 dynamic = ["authors", "license", "version"]
38
38
39 [project.entry-points."pygments.lexers"]
39 [project.entry-points."pygments.lexers"]
40 ipythonconsole = "IPython.lib.lexers:IPythonConsoleLexer"
40 ipythonconsole = "IPython.lib.lexers:IPythonConsoleLexer"
41 ipython = "IPython.lib.lexers:IPythonLexer"
41 ipython = "IPython.lib.lexers:IPythonLexer"
42 ipython3 = "IPython.lib.lexers:IPython3Lexer"
42 ipython3 = "IPython.lib.lexers:IPython3Lexer"
43
43
44 [project.scripts]
44 [project.scripts]
45 ipython = "IPython:start_ipython"
45 ipython = "IPython:start_ipython"
46 ipython3 = "IPython:start_ipython"
46 ipython3 = "IPython:start_ipython"
47
47
48 [project.readme]
48 [project.readme]
49 file = "long_description.rst"
49 file = "long_description.rst"
50 content-type = "text/x-rst"
50 content-type = "text/x-rst"
51
51
52 [project.urls]
52 [project.urls]
53 Homepage = "https://ipython.org"
53 Homepage = "https://ipython.org"
54 Documentation = "https://ipython.readthedocs.io/"
54 Documentation = "https://ipython.readthedocs.io/"
55 Funding = "https://numfocus.org/"
55 Funding = "https://numfocus.org/"
56 Source = "https://github.com/ipython/ipython"
56 Source = "https://github.com/ipython/ipython"
57 Tracker = "https://github.com/ipython/ipython/issues"
57 Tracker = "https://github.com/ipython/ipython/issues"
58
58
59 [project.optional-dependencies]
59 [project.optional-dependencies]
60 black = [
60 black = [
61 "black",
61 "black",
62 ]
62 ]
63 doc = [
63 doc = [
64 "docrepr",
64 "docrepr",
65 "exceptiongroup",
65 "exceptiongroup",
66 "intersphinx_registry",
66 "intersphinx_registry",
67 "ipykernel",
67 "ipykernel",
68 "ipython[test]",
68 "ipython[test]",
69 "matplotlib",
69 "matplotlib",
70 "setuptools>=18.5",
70 "setuptools>=18.5",
71 "sphinx-rtd-theme",
71 "sphinx-rtd-theme",
72 "sphinx>=1.3",
72 "sphinx>=1.3",
73 "sphinxcontrib-jquery",
73 "sphinxcontrib-jquery",
74 "tomli ; python_version<'3.11'",
74 "tomli ; python_version<'3.11'",
75 "typing_extensions",
75 "typing_extensions",
76 ]
76 ]
77 kernel = [
77 kernel = [
78 "ipykernel",
78 "ipykernel",
79 ]
79 ]
80 nbconvert = [
80 nbconvert = [
81 "nbconvert",
81 "nbconvert",
82 ]
82 ]
83 nbformat = [
83 nbformat = [
84 "nbformat",
84 "nbformat",
85 ]
85 ]
86 notebook = [
86 notebook = [
87 "ipywidgets",
87 "ipywidgets",
88 "notebook",
88 "notebook",
89 ]
89 ]
90 parallel = [
90 parallel = [
91 "ipyparallel",
91 "ipyparallel",
92 ]
92 ]
93 qtconsole = [
93 qtconsole = [
94 "qtconsole",
94 "qtconsole",
95 ]
95 ]
96 terminal = []
96 terminal = []
97 test = [
97 test = [
98 "pytest",
98 "pytest",
99 "pytest-asyncio<0.22",
99 "pytest-asyncio<0.22",
100 "testpath",
100 "testpath",
101 "pickleshare",
101 "pickleshare",
102 "packaging",
102 "packaging",
103 ]
103 ]
104 test_extra = [
104 test_extra = [
105 "ipython[test]",
105 "ipython[test]",
106 "curio",
106 "curio",
107 "matplotlib!=3.2.0",
107 "matplotlib!=3.2.0",
108 "nbformat",
108 "nbformat",
109 "numpy>=1.23",
109 "numpy>=1.23",
110 "pandas",
110 "pandas",
111 "trio",
111 "trio",
112 ]
112 ]
113 matplotlib = [
113 matplotlib = [
114 "matplotlib"
114 "matplotlib"
115 ]
115 ]
116 all = [
116 all = [
117 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,matplotlib]",
117 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,matplotlib]",
118 "ipython[test,test_extra]",
118 "ipython[test,test_extra]",
119 ]
119 ]
120
120
121 [tool.mypy]
121 [tool.mypy]
122 python_version = "3.10"
122 python_version = "3.10"
123 ignore_missing_imports = true
123 ignore_missing_imports = true
124 follow_imports = 'silent'
124 follow_imports = 'silent'
125 exclude = [
125 exclude = [
126 'test_\.+\.py',
126 'test_\.+\.py',
127 'IPython.utils.tests.test_wildcard',
127 'IPython.utils.tests.test_wildcard',
128 'testing',
128 'testing',
129 'tests',
129 'tests',
130 'PyColorize.py',
130 'PyColorize.py',
131 '_process_win32_controller.py',
131 '_process_win32_controller.py',
132 'IPython/core/application.py',
132 'IPython/core/application.py',
133 'IPython/core/profileapp.py',
133 'IPython/core/profileapp.py',
134 'IPython/lib/deepreload.py',
134 'IPython/lib/deepreload.py',
135 'IPython/sphinxext/ipython_directive.py',
135 'IPython/sphinxext/ipython_directive.py',
136 'IPython/terminal/ipapp.py',
136 'IPython/terminal/ipapp.py',
137 'IPython/utils/_process_win32.py',
137 'IPython/utils/_process_win32.py',
138 'IPython/utils/path.py',
138 'IPython/utils/path.py',
139 ]
139 ]
140 disallow_untyped_defs = true
140 disallow_untyped_defs = true
141 # ignore_errors = false
141 # ignore_errors = false
142 # ignore_missing_imports = false
142 # ignore_missing_imports = false
143 # disallow_untyped_calls = true
143 # disallow_untyped_calls = true
144 disallow_incomplete_defs = true
144 disallow_incomplete_defs = true
145 # check_untyped_defs = true
145 # check_untyped_defs = true
146 # disallow_untyped_decorators = true
146 # disallow_untyped_decorators = true
147 warn_redundant_casts = true
147 warn_redundant_casts = true
148
148
149 [[tool.mypy.overrides]]
149 [[tool.mypy.overrides]]
150 module = [
150 module = [
151 "IPython.utils.text",
151 "IPython.utils.text",
152 ]
152 ]
153 disallow_untyped_defs = false
153 disallow_untyped_defs = false
154 check_untyped_defs = false
154 check_untyped_defs = false
155 disallow_untyped_decorators = false
155 disallow_untyped_decorators = false
156
156
157
157
158 # gloabl ignore error
158 # gloabl ignore error
159 [[tool.mypy.overrides]]
159 [[tool.mypy.overrides]]
160 module = [
160 module = [
161 "IPython",
161 "IPython",
162 "IPython.conftest",
162 "IPython.conftest",
163 "IPython.core.alias",
163 "IPython.core.alias",
164 "IPython.core.async_helpers",
164 "IPython.core.async_helpers",
165 "IPython.core.autocall",
165 "IPython.core.autocall",
166 "IPython.core.builtin_trap",
166 "IPython.core.builtin_trap",
167 "IPython.core.compilerop",
167 "IPython.core.compilerop",
168 "IPython.core.completer",
168 "IPython.core.completer",
169 "IPython.core.completerlib",
169 "IPython.core.completerlib",
170 "IPython.core.crashhandler",
170 "IPython.core.crashhandler",
171 "IPython.core.debugger",
171 "IPython.core.debugger",
172 "IPython.core.display",
172 "IPython.core.display",
173 "IPython.core.display_functions",
173 "IPython.core.display_functions",
174 "IPython.core.display_trap",
174 "IPython.core.display_trap",
175 "IPython.core.displayhook",
175 "IPython.core.displayhook",
176 "IPython.core.displaypub",
176 "IPython.core.displaypub",
177 "IPython.core.events",
177 "IPython.core.events",
178 "IPython.core.excolors",
178 "IPython.core.excolors",
179 "IPython.core.extensions",
179 "IPython.core.extensions",
180 "IPython.core.formatters",
180 "IPython.core.formatters",
181 "IPython.core.getipython",
181 "IPython.core.getipython",
182 "IPython.core.guarded_eval",
182 "IPython.core.guarded_eval",
183 "IPython.core.history",
183 "IPython.core.history",
184 "IPython.core.historyapp",
184 "IPython.core.historyapp",
185 "IPython.core.hooks",
185 "IPython.core.hooks",
186 "IPython.core.inputsplitter",
186 "IPython.core.inputsplitter",
187 "IPython.core.inputtransformer",
187 "IPython.core.inputtransformer",
188 "IPython.core.inputtransformer2",
188 "IPython.core.inputtransformer2",
189 "IPython.core.interactiveshell",
189 "IPython.core.interactiveshell",
190 "IPython.core.logger",
190 "IPython.core.logger",
191 "IPython.core.macro",
191 "IPython.core.macro",
192 "IPython.core.magic",
192 "IPython.core.magic",
193 "IPython.core.magic_arguments",
193 "IPython.core.magic_arguments",
194 "IPython.core.magics.ast_mod",
194 "IPython.core.magics.ast_mod",
195 "IPython.core.magics.auto",
195 "IPython.core.magics.auto",
196 "IPython.core.magics.basic",
196 "IPython.core.magics.basic",
197 "IPython.core.magics.code",
197 "IPython.core.magics.code",
198 "IPython.core.magics.config",
198 "IPython.core.magics.config",
199 "IPython.core.magics.display",
199 "IPython.core.magics.display",
200 "IPython.core.magics.execution",
200 "IPython.core.magics.execution",
201 "IPython.core.magics.extension",
201 "IPython.core.magics.extension",
202 "IPython.core.magics.history",
202 "IPython.core.magics.history",
203 "IPython.core.magics.logging",
203 "IPython.core.magics.logging",
204 "IPython.core.magics.namespace",
204 "IPython.core.magics.namespace",
205 "IPython.core.magics.osm",
205 "IPython.core.magics.osm",
206 "IPython.core.magics.packaging",
206 "IPython.core.magics.packaging",
207 "IPython.core.magics.pylab",
207 "IPython.core.magics.pylab",
208 "IPython.core.magics.script",
208 "IPython.core.magics.script",
209 "IPython.core.oinspect",
209 "IPython.core.oinspect",
210 "IPython.core.page",
210 "IPython.core.page",
211 "IPython.core.payload",
211 "IPython.core.payload",
212 "IPython.core.payloadpage",
212 "IPython.core.payloadpage",
213 "IPython.core.prefilter",
213 "IPython.core.prefilter",
214 "IPython.core.profiledir",
214 "IPython.core.profiledir",
215 "IPython.core.prompts",
215 "IPython.core.prompts",
216 "IPython.core.pylabtools",
216 "IPython.core.pylabtools",
217 "IPython.core.shellapp",
217 "IPython.core.shellapp",
218 "IPython.core.splitinput",
218 "IPython.core.splitinput",
219 "IPython.core.ultratb",
219 "IPython.core.ultratb",
220 "IPython.extensions.autoreload",
220 "IPython.extensions.autoreload",
221 "IPython.extensions.storemagic",
221 "IPython.extensions.storemagic",
222 "IPython.external.qt_for_kernel",
222 "IPython.external.qt_for_kernel",
223 "IPython.external.qt_loaders",
223 "IPython.external.qt_loaders",
224 "IPython.lib.backgroundjobs",
224 "IPython.lib.backgroundjobs",
225 "IPython.lib.clipboard",
225 "IPython.lib.clipboard",
226 "IPython.lib.demo",
226 "IPython.lib.demo",
227 "IPython.lib.display",
227 "IPython.lib.display",
228 "IPython.lib.editorhooks",
228 "IPython.lib.editorhooks",
229 "IPython.lib.guisupport",
229 "IPython.lib.guisupport",
230 "IPython.lib.latextools",
230 "IPython.lib.latextools",
231 "IPython.lib.lexers",
231 "IPython.lib.lexers",
232 "IPython.lib.pretty",
232 "IPython.lib.pretty",
233 "IPython.paths",
233 "IPython.paths",
234 "IPython.sphinxext.ipython_console_highlighting",
234 "IPython.sphinxext.ipython_console_highlighting",
235 "IPython.terminal.debugger",
235 "IPython.terminal.debugger",
236 "IPython.terminal.embed",
236 "IPython.terminal.embed",
237 "IPython.terminal.interactiveshell",
237 "IPython.terminal.interactiveshell",
238 "IPython.terminal.magics",
238 "IPython.terminal.magics",
239 "IPython.terminal.prompts",
239 "IPython.terminal.prompts",
240 "IPython.terminal.pt_inputhooks",
240 "IPython.terminal.pt_inputhooks",
241 "IPython.terminal.pt_inputhooks.asyncio",
241 "IPython.terminal.pt_inputhooks.asyncio",
242 "IPython.terminal.pt_inputhooks.glut",
242 "IPython.terminal.pt_inputhooks.glut",
243 "IPython.terminal.pt_inputhooks.gtk",
243 "IPython.terminal.pt_inputhooks.gtk",
244 "IPython.terminal.pt_inputhooks.gtk3",
244 "IPython.terminal.pt_inputhooks.gtk3",
245 "IPython.terminal.pt_inputhooks.gtk4",
245 "IPython.terminal.pt_inputhooks.gtk4",
246 "IPython.terminal.pt_inputhooks.osx",
246 "IPython.terminal.pt_inputhooks.osx",
247 "IPython.terminal.pt_inputhooks.pyglet",
247 "IPython.terminal.pt_inputhooks.pyglet",
248 "IPython.terminal.pt_inputhooks.qt",
248 "IPython.terminal.pt_inputhooks.qt",
249 "IPython.terminal.pt_inputhooks.tk",
249 "IPython.terminal.pt_inputhooks.tk",
250 "IPython.terminal.pt_inputhooks.wx",
250 "IPython.terminal.pt_inputhooks.wx",
251 "IPython.terminal.ptutils",
251 "IPython.terminal.ptutils",
252 "IPython.terminal.shortcuts",
252 "IPython.terminal.shortcuts",
253 "IPython.terminal.shortcuts.auto_match",
253 "IPython.terminal.shortcuts.auto_match",
254 "IPython.terminal.shortcuts.auto_suggest",
254 "IPython.terminal.shortcuts.auto_suggest",
255 "IPython.terminal.shortcuts.filters",
255 "IPython.terminal.shortcuts.filters",
256 "IPython.utils._process_cli",
256 "IPython.utils._process_cli",
257 "IPython.utils._process_common",
257 "IPython.utils._process_common",
258 "IPython.utils._process_emscripten",
258 "IPython.utils._process_emscripten",
259 "IPython.utils._process_posix",
259 "IPython.utils._process_posix",
260 "IPython.utils.capture",
260 "IPython.utils.capture",
261 "IPython.utils.coloransi",
261 "IPython.utils.coloransi",
262 "IPython.utils.contexts",
262 "IPython.utils.contexts",
263 "IPython.utils.data",
263 "IPython.utils.data",
264 "IPython.utils.decorators",
264 "IPython.utils.decorators",
265 "IPython.utils.dir2",
265 "IPython.utils.dir2",
266 "IPython.utils.encoding",
266 "IPython.utils.encoding",
267 "IPython.utils.frame",
267 "IPython.utils.frame",
268 "IPython.utils.generics",
268 "IPython.utils.generics",
269 "IPython.utils.importstring",
269 "IPython.utils.importstring",
270 "IPython.utils.io",
270 "IPython.utils.io",
271 "IPython.utils.ipstruct",
271 "IPython.utils.ipstruct",
272 "IPython.utils.module_paths",
272 "IPython.utils.module_paths",
273 "IPython.utils.openpy",
273 "IPython.utils.openpy",
274 "IPython.utils.process",
274 "IPython.utils.process",
275 "IPython.utils.py3compat",
275 "IPython.utils.py3compat",
276 "IPython.utils.sentinel",
276 "IPython.utils.sentinel",
277 "IPython.utils.shimmodule",
277 "IPython.utils.shimmodule",
278 "IPython.utils.strdispatch",
278 "IPython.utils.strdispatch",
279 "IPython.utils.sysinfo",
279 "IPython.utils.sysinfo",
280 "IPython.utils.syspathcontext",
280 "IPython.utils.syspathcontext",
281 "IPython.utils.tempdir",
281 "IPython.utils.tempdir",
282 "IPython.utils.terminal",
282 "IPython.utils.terminal",
283 "IPython.utils.timing",
283 "IPython.utils.timing",
284 "IPython.utils.tokenutil",
284 "IPython.utils.tokenutil",
285 "IPython.utils.tz",
285 "IPython.utils.tz",
286 "IPython.utils.ulinecache",
286 "IPython.utils.ulinecache",
287 "IPython.utils.version",
287 "IPython.utils.version",
288 "IPython.utils.wildcard",
288 "IPython.utils.wildcard",
289
289
290 ]
290 ]
291 disallow_untyped_defs = false
291 disallow_untyped_defs = false
292 ignore_errors = true
292 ignore_errors = true
293 ignore_missing_imports = true
293 ignore_missing_imports = true
294 disallow_untyped_calls = false
294 disallow_untyped_calls = false
295 disallow_incomplete_defs = false
295 disallow_incomplete_defs = false
296 check_untyped_defs = false
296 check_untyped_defs = false
297 disallow_untyped_decorators = false
297 disallow_untyped_decorators = false
298
298
299 [tool.pytest.ini_options]
299 [tool.pytest.ini_options]
300 addopts = [
300 addopts = [
301 "--durations=10",
301 "--durations=10",
302 "-pIPython.testing.plugin.pytest_ipdoctest",
302 "-pIPython.testing.plugin.pytest_ipdoctest",
303 "--ipdoctest-modules",
303 "--ipdoctest-modules",
304 "--ignore=docs",
304 "--ignore=docs",
305 "--ignore=examples",
305 "--ignore=examples",
306 "--ignore=htmlcov",
306 "--ignore=htmlcov",
307 "--ignore=ipython_kernel",
307 "--ignore=ipython_kernel",
308 "--ignore=ipython_parallel",
308 "--ignore=ipython_parallel",
309 "--ignore=results",
309 "--ignore=results",
310 "--ignore=tmp",
310 "--ignore=tmp",
311 "--ignore=tools",
311 "--ignore=tools",
312 "--ignore=traitlets",
312 "--ignore=traitlets",
313 "--ignore=IPython/core/tests/daft_extension",
313 "--ignore=IPython/core/tests/daft_extension",
314 "--ignore=IPython/sphinxext",
314 "--ignore=IPython/sphinxext",
315 "--ignore=IPython/terminal/pt_inputhooks",
315 "--ignore=IPython/terminal/pt_inputhooks",
316 "--ignore=IPython/__main__.py",
316 "--ignore=IPython/__main__.py",
317 "--ignore=IPython/external/qt_for_kernel.py",
317 "--ignore=IPython/external/qt_for_kernel.py",
318 "--ignore=IPython/html/widgets/widget_link.py",
318 "--ignore=IPython/html/widgets/widget_link.py",
319 "--ignore=IPython/html/widgets/widget_output.py",
319 "--ignore=IPython/html/widgets/widget_output.py",
320 "--ignore=IPython/terminal/console.py",
320 "--ignore=IPython/terminal/console.py",
321 "--ignore=IPython/utils/_process_cli.py",
321 "--ignore=IPython/utils/_process_cli.py",
322 "--ignore=IPython/utils/_process_posix.py",
322 "--ignore=IPython/utils/_process_posix.py",
323 "--ignore=IPython/utils/_process_win32.py",
323 "--ignore=IPython/utils/_process_win32.py",
324 "--ignore=IPython/utils/_process_win32_controller.py",
324 "--ignore=IPython/utils/_process_win32_controller.py",
325 "--ignore=IPython/utils/daemonize.py",
325 "--ignore=IPython/utils/daemonize.py",
326 "--ignore=IPython/utils/eventful.py",
326 "--ignore=IPython/utils/eventful.py",
327 "--ignore=IPython/kernel",
327 "--ignore=IPython/kernel",
328 "--ignore=IPython/consoleapp.py",
328 "--ignore=IPython/consoleapp.py",
329 "--ignore=IPython/core/inputsplitter.py",
329 "--ignore=IPython/core/inputsplitter.py",
330 "--ignore=IPython/lib/kernel.py",
330 "--ignore=IPython/lib/kernel.py",
331 "--ignore=IPython/utils/jsonutil.py",
331 "--ignore=IPython/utils/jsonutil.py",
332 "--ignore=IPython/utils/localinterfaces.py",
332 "--ignore=IPython/utils/localinterfaces.py",
333 "--ignore=IPython/utils/log.py",
333 "--ignore=IPython/utils/log.py",
334 "--ignore=IPython/utils/signatures.py",
334 "--ignore=IPython/utils/signatures.py",
335 "--ignore=IPython/utils/traitlets.py",
335 "--ignore=IPython/utils/traitlets.py",
336 "--ignore=IPython/utils/version.py"
336 "--ignore=IPython/utils/version.py"
337 ]
337 ]
338 doctest_optionflags = [
338 doctest_optionflags = [
339 "NORMALIZE_WHITESPACE",
339 "NORMALIZE_WHITESPACE",
340 "ELLIPSIS"
340 "ELLIPSIS"
341 ]
341 ]
342 ipdoctest_optionflags = [
342 ipdoctest_optionflags = [
343 "NORMALIZE_WHITESPACE",
343 "NORMALIZE_WHITESPACE",
344 "ELLIPSIS"
344 "ELLIPSIS"
345 ]
345 ]
346 asyncio_mode = "strict"
346 asyncio_mode = "strict"
347
347
348 [tool.pyright]
348 [tool.pyright]
349 pythonPlatform="All"
349 pythonPlatform="All"
350
350
351 [tool.setuptools]
351 [tool.setuptools]
352 zip-safe = false
352 zip-safe = false
353 platforms = ["Linux", "Mac OSX", "Windows"]
353 platforms = ["Linux", "Mac OSX", "Windows"]
354 license-files = ["LICENSE"]
354 license-files = ["LICENSE"]
355 include-package-data = false
355 include-package-data = false
356
356
357 [tool.setuptools.packages.find]
357 [tool.setuptools.packages.find]
358 exclude = ["setupext"]
358 exclude = ["setupext"]
359 namespaces = false
359 namespaces = false
360
360
361 [tool.setuptools.package-data]
361 [tool.setuptools.package-data]
362 "IPython" = ["py.typed"]
362 "IPython" = ["py.typed"]
363 "IPython.core" = ["profile/README*"]
363 "IPython.core" = ["profile/README*"]
364 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
364 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
365 "IPython.lib.tests" = ["*.wav"]
365 "IPython.lib.tests" = ["*.wav"]
366 "IPython.testing.plugin" = ["*.txt"]
366 "IPython.testing.plugin" = ["*.txt"]
367
367
368 [tool.setuptools.dynamic]
368 [tool.setuptools.dynamic]
369 version = {attr = "IPython.core.release.__version__"}
369 version = {attr = "IPython.core.release.__version__"}
370
371 [tool.coverage.run]
372 omit = [
373 # omit everything in /tmp as we run tempfile
374 "/tmp/*",
375 ]
General Comments 0
You need to be logged in to leave comments. Login now