Skip to content

Commit a86b2df

Browse files
committed
Move implicit_reexport strict note after example
1 parent 3fc2f80 commit a86b2df

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/source/config_file.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -837,10 +837,6 @@ 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-
844840
.. code-block:: python
845841
846842
# This won't re-export the value
@@ -851,6 +847,10 @@ section of the command line docs.
851847
from foo import bar
852848
__all__ = ['bar']
853849
850+
Although this option is enabled by default, :confval:`strict` enables
851+
:option:`mypy --no-implicit-reexport`. Set ``implicit_reexport = true``
852+
explicitly if you want to keep implicit reexports when using strict mode.
853+
854854
.. confval:: strict_equality
855855

856856
:type: boolean

0 commit comments

Comments
 (0)