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