Skip to content

Commit

Permalink
Update doc: pytest section in setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
tadashigaki committed Sep 30, 2019
1 parent 88434f1 commit acfd0fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/en/customize.rst
Original file line number Diff line number Diff line change
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 acfd0fd

Please sign in to comment.