summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-19 17:04:06 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-11-19 17:04:06 -0500
commit5d51fc47edb6a2b32ac6a8673cfe0a5799293d84 (patch)
treecc69335af0f9b9ce156063a9a216653e5e0b77d1 /doc
parenta40b95c967dbc4071e21fb151cb92eaa9bdc8d30 (diff)
downloadpython-coveragepy-5d51fc47edb6a2b32ac6a8673cfe0a5799293d84.tar.gz
Update the docs about reading tox.ini
Diffstat (limited to 'doc')
-rw-r--r--doc/config.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/config.rst b/doc/config.rst
index afa6757..7889311 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -36,10 +36,11 @@ rather than put in your home directory.
A different name for the configuration file can be specified with the
``--rcfile=FILE`` command line option.
-Coverage.py will read settings from a ``setup.cfg`` file if no other
-configuration file is used. In this case, the section names have "coverage:"
+Coverage.py will read settings from other usual configuration files if no other
+configuration file is used. It will automatically read from "setup.cfg" or
+"tox.ini" if they exist. In this case, the section names have "coverage:"
prefixed, so the ``[run]`` options described below will be found in the
-``[coverage:run]`` section of ``setup.cfg``.
+``[coverage:run]`` section of the file.
Syntax