pyproject.toml
84 lines
| 2.5 KiB
| text/plain
|
TOMLLexer
James Morris
|
r27264 | [build-system] | ||
Michał Górny
|
r27682 | requires = ["setuptools >= 51.0.0"] | ||
Matthias Koeppe
|
r28601 | # We need access to the 'setupbase' module at build time. | ||
# Hence we declare a custom build backend. | ||||
build-backend = "_build_meta" # just re-exports setuptools.build_meta definitions | ||||
backend-path = ["."] | ||||
Saurav Maheshkar
|
r28220 | |||
Matthias Bussonnier
|
r28167 | [tool.mypy] | ||
Matthias Bussonnier
|
r28587 | python_version = "3.10" | ||
Matthias Bussonnier
|
r28167 | 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/interactiveshell.py', | ||||
'IPython/core/magic.py', | ||||
'IPython/core/profileapp.py', | ||||
Matthias Bussonnier
|
r28208 | # 'IPython/core/ultratb.py', | ||
Matthias Bussonnier
|
r28167 | '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', | ||||
Saurav Maheshkar
|
r28220 | ] | ||
Matthias Bussonnier
|
r28167 | |||
Saurav Maheshkar
|
r28220 | [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" | ||||
Matthias Bussonnier
|
r28587 | |||
[tool.pyright] | ||||
pythonPlatform="All" | ||||