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

Document how evil --no-strict-optional is #16731

Merged
merged 1 commit into from
Jan 2, 2024

Commits on Jan 2, 2024

  1. Document how evil --no-strict-optional is

    On multiple occasions, I've encountered folks using this, running into
    issues and then being perplexed when they figure out what
    `--no-strict-optional` actually does. Most recently in
    python#16718 (comment)
    
    This is a non-standard, dangerous option that should not be used in
    modern typed Python. It's been five and a half years since it was the
    default behaviour in mypy, so we should deemphasise and warn about its
    existence.
    hauntsaninja committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d583117 View commit details
    Browse the repository at this point in the history