summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-12-04 07:34:32 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-12-04 07:34:32 -0500
commita7da1fe548d261451f6ceabd2bde751b4f6c14ca (patch)
tree3b9731234b477b99332848deae005fb46b1c6f67 /coverage/control.py
parentb75575fd2cf3036d00624abbfc7d94f4f0c4aba8 (diff)
downloadpython-coveragepy-git-nedbat/configfile-simplification.tar.gz
Remove special handling of config_file=".coveragerc". #788nedbat/configfile-simplification
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 53942242..d9272fc6 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -126,15 +126,12 @@ class Coverage(object):
`config_file` determines what configuration file to read:
- * If it is ".coveragerc", it is interpreted as if it were True,
- for backward compatibility.
-
* If it is a string, it is the name of the file to read. If the
file can't be read, it is an error.
* If it is True, then a few standard files names are tried
- (".coveragerc", "setup.cfg", "tox.ini"). It is not an error for
- these files to not be found.
+ (".coveragerc", "setup.cfg", "tox.ini", "pyproject.toml").
+ It is not an error for these files to not be found.
* If it is False, then no configuration file is read.