Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable mypy option no_implicit_reexport #1318

Merged
merged 2 commits into from
Feb 8, 2021
Merged

Enable mypy option no_implicit_reexport #1318

merged 2 commits into from
Feb 8, 2021

Commits on Feb 7, 2021

  1. Enable mypy option no_implicit_reexport

    This option is part of the set of "strict" mypy options, bringing the
    project closer to full strict checking.
    
    https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport
    
    > By default, imported values to a module are treated as exported and
    > mypy allows other modules to import them. This flag changes the
    > behavior to not re-export unless the item is imported using from-as or
    > is included in `__all__`.
    
    A side benefit of using `__all__` is that it allows removing the flake8
    exceptions from the code base. Now `__init__.py` files are checked too.
    
    Refs: #972
    jdufresne committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    ce9c14c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. Configuration menu
    Copy the full SHA
    9b4c4e9 View commit details
    Browse the repository at this point in the history