##// END OF EJS Templates
Add option to `%autoreload` to hide errors when reloading code (#14056)...
Add option to `%autoreload` to hide errors when reloading code (#14056) * We have `%autoreload` enabled by default in Spyder and think it's a bit annoying to show its error messages to users because they make little sense to them. These errors are not uncommon when you are working with some code that is slightly different between two git branches. * However, I didn't change the current behavior (i.e. showing errors) because it's been like that for as long as I can remember. We'd simply use the new `--hide-errors` option in our kernel.

File last commit:

r28248:c51f5906 merge
r28310:b518e6a5 merge
Show More
pyproject.toml
81 lines | 2.4 KiB | text/plain | TOMLLexer
[build-system]
requires = ["setuptools >= 51.0.0"]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = 3.9
ignore_missing_imports = true
follow_imports = 'silent'
exclude = [
'test_\.+\.py',
'IPython.utils.tests.test_wildcard',
'testing',
'tests',
'PyColorize.py',
'_process_win32_controller.py',
'IPython/core/application.py',
'IPython/core/completerlib.py',
'IPython/core/displaypub.py',
'IPython/core/historyapp.py',
#'IPython/core/interactiveshell.py',
'IPython/core/magic.py',
'IPython/core/profileapp.py',
# 'IPython/core/ultratb.py',
'IPython/lib/deepreload.py',
'IPython/lib/pretty.py',
'IPython/sphinxext/ipython_directive.py',
'IPython/terminal/ipapp.py',
'IPython/utils/_process_win32.py',
'IPython/utils/path.py',
'IPython/utils/timing.py',
'IPython/utils/text.py'
]
[tool.pytest.ini_options]
addopts = [
"--durations=10",
"-pIPython.testing.plugin.pytest_ipdoctest",
"--ipdoctest-modules",
"--ignore=docs",
"--ignore=examples",
"--ignore=htmlcov",
"--ignore=ipython_kernel",
"--ignore=ipython_parallel",
"--ignore=results",
"--ignore=tmp",
"--ignore=tools",
"--ignore=traitlets",
"--ignore=IPython/core/tests/daft_extension",
"--ignore=IPython/sphinxext",
"--ignore=IPython/terminal/pt_inputhooks",
"--ignore=IPython/__main__.py",
"--ignore=IPython/external/qt_for_kernel.py",
"--ignore=IPython/html/widgets/widget_link.py",
"--ignore=IPython/html/widgets/widget_output.py",
"--ignore=IPython/terminal/console.py",
"--ignore=IPython/utils/_process_cli.py",
"--ignore=IPython/utils/_process_posix.py",
"--ignore=IPython/utils/_process_win32.py",
"--ignore=IPython/utils/_process_win32_controller.py",
"--ignore=IPython/utils/daemonize.py",
"--ignore=IPython/utils/eventful.py",
"--ignore=IPython/kernel",
"--ignore=IPython/consoleapp.py",
"--ignore=IPython/core/inputsplitter.py",
"--ignore=IPython/lib/kernel.py",
"--ignore=IPython/utils/jsonutil.py",
"--ignore=IPython/utils/localinterfaces.py",
"--ignore=IPython/utils/log.py",
"--ignore=IPython/utils/signatures.py",
"--ignore=IPython/utils/traitlets.py",
"--ignore=IPython/utils/version.py"
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"ELLIPSIS"
]
ipdoctest_optionflags = [
"NORMALIZE_WHITESPACE",
"ELLIPSIS"
]
asyncio_mode = "strict"