python / python/mypy

implicit_reexport default seems to be wrong

Open
#16,971 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

Documentation

https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml says:

screenshot-1709255177

But implicit_reexport seems to be false by default. If I set implicit_reexport = true in the [mypy] section of pyproject.toml, it really changes the behavior of mypy (I get less errors).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the mypy configuration documentation at the linked “Using a pyproject.toml” section and inspect the text describing the default for implicit_reexport. Compare that statement with mypy’s actual behavior when the option is omitted versus set to true. Done means the documentation accurately describes the default and the effect of explicitly enabling the option.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.