##// END OF EJS Templates
chore: move pytest configuration to pyproject.toml
Saurav Maheshkar -
Show More
@@ -1,6 +1,7 b''
1 [build-system]
1 [build-system]
2 requires = ["setuptools >= 51.0.0"]
2 requires = ["setuptools >= 51.0.0"]
3 build-backend = "setuptools.build_meta"
3 build-backend = "setuptools.build_meta"
4
4 [tool.mypy]
5 [tool.mypy]
5 python_version = 3.8
6 python_version = 3.8
6 ignore_missing_imports = true
7 ignore_missing_imports = true
@@ -28,5 +29,53 b' exclude = ['
28 'IPython/utils/path.py',
29 'IPython/utils/path.py',
29 'IPython/utils/timing.py',
30 'IPython/utils/timing.py',
30 'IPython/utils/text.py'
31 'IPython/utils/text.py'
31 ]
32 ]
32
33
34 [tool.pytest.ini_options]
35 addopts = [
36 "--durations=10",
37 "-pIPython.testing.plugin.pytest_ipdoctest",
38 "--ipdoctest-modules",
39 "--ignore=docs",
40 "--ignore=examples",
41 "--ignore=htmlcov",
42 "--ignore=ipython_kernel",
43 "--ignore=ipython_parallel",
44 "--ignore=results",
45 "--ignore=tmp",
46 "--ignore=tools",
47 "--ignore=traitlets",
48 "--ignore=IPython/core/tests/daft_extension",
49 "--ignore=IPython/sphinxext",
50 "--ignore=IPython/terminal/pt_inputhooks",
51 "--ignore=IPython/__main__.py",
52 "--ignore=IPython/external/qt_for_kernel.py",
53 "--ignore=IPython/html/widgets/widget_link.py",
54 "--ignore=IPython/html/widgets/widget_output.py",
55 "--ignore=IPython/terminal/console.py",
56 "--ignore=IPython/utils/_process_cli.py",
57 "--ignore=IPython/utils/_process_posix.py",
58 "--ignore=IPython/utils/_process_win32.py",
59 "--ignore=IPython/utils/_process_win32_controller.py",
60 "--ignore=IPython/utils/daemonize.py",
61 "--ignore=IPython/utils/eventful.py",
62 "--ignore=IPython/kernel",
63 "--ignore=IPython/consoleapp.py",
64 "--ignore=IPython/core/inputsplitter.py",
65 "--ignore=IPython/lib/kernel.py",
66 "--ignore=IPython/utils/jsonutil.py",
67 "--ignore=IPython/utils/localinterfaces.py",
68 "--ignore=IPython/utils/log.py",
69 "--ignore=IPython/utils/signatures.py",
70 "--ignore=IPython/utils/traitlets.py",
71 "--ignore=IPython/utils/version.py"
72 ]
73 doctest_optionflags = [
74 "NORMALIZE_WHITESPACE",
75 "ELLIPSIS"
76 ]
77 ipdoctest_optionflags = [
78 "NORMALIZE_WHITESPACE",
79 "ELLIPSIS"
80 ]
81 asyncio_mode = "strict"
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