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

typing: add no_implicit_optional lint lint #3173

Merged
merged 1 commit into from
Jun 18, 2024

Commits on Jun 18, 2024

  1. typing: add no_implicit_optional lint

    Explicit optional types are preferred and the default in mypy >= 0.980[1].
    
    Add the config to check for this and fix any instance of the lint error.
    
    References:
    [1] https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_optional
    aciba90 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    e06ce8d View commit details
    Browse the repository at this point in the history