Skip to content

Commit

Permalink
Update doc: pytest section in setup.cfg (#5894)
Browse files Browse the repository at this point in the history
Update doc: pytest section in setup.cfg
  • Loading branch information
nicoddemus committed Oct 1, 2019
2 parents 88434f1 + acfd0fd commit 9a4c0b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/en/customize.rst
Expand Up @@ -134,10 +134,13 @@ progress output, you can write it into a configuration file:
.. code-block:: ini
# content of pytest.ini or tox.ini
# setup.cfg files should use [tool:pytest] section instead
[pytest]
addopts = -ra -q
# content of setup.cfg
[tool:pytest]
addopts = -ra -q
Alternatively, you can set a ``PYTEST_ADDOPTS`` environment variable to add command
line options while the environment is in use:

Expand Down

0 comments on commit 9a4c0b9

Please sign in to comment.