Skip to content

Commit 61ddd30

Browse files
authored
Update readme (#352)
pyproject.toml specification
1 parent 99f495f commit 61ddd30

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ In `setup.cfg` in the root of your project you can configure mutmut if you need
7575
paths_to_mutate=src/
7676
tests_dir=tests/
7777
78+
If you use `pyproject.toml`, you must specify the paths as array in a `tool.mutmut` section:
79+
80+
.. code-block:: toml
81+
82+
[tool.mutmut]
83+
paths_to_mutate = [ "src/" ]
84+
tests_dir = [ "tests/" ]
85+
7886
See below for more options for configuring mutmut.
7987

8088

0 commit comments

Comments
 (0)