Skip to content

Commit 86fd2a7

Browse files
authored
Update mypy_plugins.rst
1 parent 877260d commit 86fd2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/contrib/mypy_plugins.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ You will need to install ``mypy`` separately.
1515
It is not bundled with ``returns``.
1616

1717
To install any ``mypy`` plugin add it
18-
to the ``plugins`` section of the config file.
18+
to the ``plugins`` section of the config file (``setup.cfg`` or ``mypy.ini``):
1919

2020
.. code:: ini
2121
2222
[mypy]
2323
plugins =
2424
returns.contrib.mypy.returns_plugin
2525
26-
Or
26+
Or in ``pyproject.toml``:
2727

2828
.. code:: toml
2929

0 commit comments

Comments
 (0)