summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stolcman <v0lt.lucas@gmail.com>2022-02-23 11:33:04 +0100
committerGitHub <noreply@github.com>2022-02-23 02:33:04 -0800
commit106bb765dcf4b19edc9c3efb3673b7eae32059fa (patch)
treeede8b2057bf5b3e48834b81778f3d3490ed404e8
parent65bf33fc03209ffb01bbbc0d900017614645ee7a (diff)
downloadpython-coveragepy-git-106bb765dcf4b19edc9c3efb3673b7eae32059fa.tar.gz
docs: clarify usage of disable_warnings in pyproject.toml (#1330)
* docs: clarify usage of disable_warnings in pyproject.toml * Update doc/cmd.rst Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
-rw-r--r--doc/cmd.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst
index 215af530..9cc46594 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -289,6 +289,10 @@ collected," add this to your .coveragerc file::
[run]
disable_warnings = no-data-collected
+or pyproject.toml::
+ [tool.coverage.run]
+ disable_warnings = ['no-data-collected']
+
.. _cmd_datafile: