Skip to content

Commit

Permalink
Merge pull request #33 from tobiasbueschel/master
Browse files Browse the repository at this point in the history
Update README.rst with correct section usage for setup.cfg
  • Loading branch information
renanivo authored May 20, 2020
2 parents 34db767 + 6348ae2 commit 1159d68
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ in your `ini file <https://docs.pytest.org/en/latest/customize.html#initializati

.. code-block:: ini
# content of pytest.ini
# (or tox.ini or setup.cfg)
# content of pytest.ini or tox.ini
[pytest]
addopts = --testdox
# or if you use setup.cfg
[tool:pytest]
addopts = --testdox
When using ``--testdox``, the plugin will disable itself when not running on a
terminal. If you want the testdox report no matter what, use the parameter
``--force-testdox`` instead.
Expand Down

0 comments on commit 1159d68

Please sign in to comment.