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 --- coverage/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index e0aa998a..1cf86c37 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, ""), -- cgit v1.2.1