summaryrefslogtreecommitdiff
path: root/doc/config.rst
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
commit12883bec6ecbbfb2d305b06c6280aabf75e616e6 (patch)
treed50661bd7af4c3bdcf0fdd2f74b104e06adacb7a /doc/config.rst
parent6bff6386d161dbd9d1a15010bfc48d18cedb4173 (diff)
downloadpython-coveragepy-git-12883bec6ecbbfb2d305b06c6280aabf75e616e6.tar.gz
Update the docs about reading tox.ini
Diffstat (limited to 'doc/config.rst')
-rw-r--r--doc/config.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/config.rst b/doc/config.rst
index afa67570..7889311e 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