Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1cdbfb2

Browse files
committed
Merge pull request #9499 from Carreau/document-raise-on-config
Document IPYTHON_SUPPRESS_CONFIG_ERRORS.
2 parents 97429bd + 27e605f commit 1cdbfb2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/source/development/config.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ under :file:`profile_default`. If you want the default config files for the
5555
:mod:`IPython.parallel` applications, add ``--parallel`` to the end of the
5656
command-line args.
5757

58+
.. note::
59+
60+
IPython configuration options are case sensitive, and IPython cannot
61+
catch misnamed keys or invalid values.
62+
63+
By default IPython will also ignore any invalid configuration files.
64+
65+
.. versionadded:: 5.0
66+
67+
IPython can be configured to abort in case of invalid configuration file.
68+
To do so set the environment variable ``IPYTHON_SUPPRESS_CONFIG_ERRORS`` to
69+
`'1'` or `'true'`
70+
5871

5972
Locating these files
6073
--------------------

0 commit comments

Comments
 (0)