##// END OF EJS Templates
chore: move pytest configuration to pyproject.toml
Saurav Maheshkar -
Show More
@@ -1,32 +1,81 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
7 follow_imports = 'silent'
8 follow_imports = 'silent'
8 exclude = [
9 exclude = [
9 'test_\.+\.py',
10 'test_\.+\.py',
10 'IPython.utils.tests.test_wildcard',
11 'IPython.utils.tests.test_wildcard',
11 'testing',
12 'testing',
12 'tests',
13 'tests',
13 'PyColorize.py',
14 'PyColorize.py',
14 '_process_win32_controller.py',
15 '_process_win32_controller.py',
15 'IPython/core/application.py',
16 'IPython/core/application.py',
16 'IPython/core/completerlib.py',
17 'IPython/core/completerlib.py',
17 'IPython/core/displaypub.py',
18 'IPython/core/displaypub.py',
18 'IPython/core/historyapp.py',
19 'IPython/core/historyapp.py',
19 #'IPython/core/interactiveshell.py',
20 #'IPython/core/interactiveshell.py',
20 'IPython/core/magic.py',
21 'IPython/core/magic.py',
21 'IPython/core/profileapp.py',
22 'IPython/core/profileapp.py',
22 # 'IPython/core/ultratb.py',
23 # 'IPython/core/ultratb.py',
23 'IPython/lib/deepreload.py',
24 'IPython/lib/deepreload.py',
24 'IPython/lib/pretty.py',
25 'IPython/lib/pretty.py',
25 'IPython/sphinxext/ipython_directive.py',
26 'IPython/sphinxext/ipython_directive.py',
26 'IPython/terminal/ipapp.py',
27 'IPython/terminal/ipapp.py',
27 'IPython/utils/_process_win32.py',
28 'IPython/utils/_process_win32.py',
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