summaryrefslogtreecommitdiff
path: root/doc/config.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-09-25 07:39:28 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-09-25 07:39:28 -0400
commit3a205cb7ad3d177369316818b2b2d77569ba1f18 (patch)
tree27cc558931ac2c6504fda26a85d8ecaa2a434e2e /doc/config.rst
parentb8f43e662ccdc11d5314d34a87c0dbdc0fba2403 (diff)
downloadpython-coveragepy-git-3a205cb7ad3d177369316818b2b2d77569ba1f18.tar.gz
Document stuff for 4.0a1
Diffstat (limited to 'doc/config.rst')
-rw-r--r--doc/config.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/config.rst b/doc/config.rst
index 792ed45a..cec14e0f 100644
--- a/doc/config.rst
+++ b/doc/config.rst
@@ -27,6 +27,14 @@ configuration file are tied to your source code and how it should be measured,
so it should be stored with your source, and checked into source control,
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:"
+prefixed, so the ``[run]`` options described below will be found in the
+``[coverage:run]`` section of ``setup.cfg``.
+
Syntax
------