summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: