Skip to content

Commit 3fc2f80

Browse files
committed
Clarify implicit_reexport with strict mode
1 parent 7a45d25 commit 3fc2f80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/source/config_file.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,10 @@ section of the command line docs.
837837
the item is imported using from-as or is included in ``__all__``. Note that mypy
838838
treats stub files as if this is always disabled. For example:
839839

840+
Although this option is enabled by default, :confval:`strict` enables
841+
:option:`mypy --no-implicit-reexport`. Set ``implicit_reexport = true``
842+
explicitly if you want to keep implicit reexports when using strict mode.
843+
840844
.. code-block:: python
841845
842846
# This won't re-export the value

0 commit comments

Comments
 (0)