summaryrefslogtreecommitdiff
path: root/coverage/control.py
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 /coverage/control.py
parenta40b95c967dbc4071e21fb151cb92eaa9bdc8d30 (diff)
downloadpython-coveragepy-5d51fc47edb6a2b32ac6a8673cfe0a5799293d84.tar.gz
Update the docs about reading tox.ini
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/control.py b/coverage/control.py
index e0aa998..1cf86c3 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -101,8 +101,8 @@ class Coverage(object):
file can't be read, it is an error.
* If it is True, then a few standard files names are tried
- (".coveragerc", "setup.cfg"). It is not an error for these files
- to not be found.
+ (".coveragerc", "setup.cfg", "tox.ini"). It is not an error for
+ these files to not be found.
* If it is False, then no configuration file is read.
@@ -142,7 +142,7 @@ class Coverage(object):
config_file = True
specified_file = (config_file is not True)
if not specified_file:
- config_file = ".coveragerc"
+ config_file = ".coveragerc" # pylint: disable=redefined-variable-type
self.config_file = config_file
for fname, prefix in [(config_file, ""),