From 12883bec6ecbbfb2d305b06c6280aabf75e616e6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 19 Nov 2016 17:04:06 -0500 Subject: Update the docs about reading tox.ini --- doc/config.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/config.rst') 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 -- cgit v1.2.1