Update doc: pytest section in setup.cfg
This commit is contained in:
parent
88434f1f42
commit
acfd0fd9d6
|
@ -134,10 +134,13 @@ progress output, you can write it into a configuration file:
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
# content of pytest.ini or tox.ini
|
# content of pytest.ini or tox.ini
|
||||||
# setup.cfg files should use [tool:pytest] section instead
|
|
||||||
[pytest]
|
[pytest]
|
||||||
addopts = -ra -q
|
addopts = -ra -q
|
||||||
|
|
||||||
|
# content of setup.cfg
|
||||||
|
[tool:pytest]
|
||||||
|
addopts = -ra -q
|
||||||
|
|
||||||
Alternatively, you can set a ``PYTEST_ADDOPTS`` environment variable to add command
|
Alternatively, you can set a ``PYTEST_ADDOPTS`` environment variable to add command
|
||||||
line options while the environment is in use:
|
line options while the environment is in use:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue