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