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

Allow trailing ellipsis in typing.TYPE_CHECKING #10413

Merged
merged 2 commits into from
Mar 15, 2024

Commits on Mar 14, 2024

  1. Allow trailing ellipsis in typing.TYPE_CHECKING

    Trailing ellipses in objects defined in `typing.TYPE_CHECKING` might be
    meaningful (it might be declaring a stub). Thus, we should skip the
    `unnecessary-placeholder` (`PIE970`) rule in such contexts.
    tjkuson committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    68e5c3c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Move down

    charliermarsh committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    7a4f036 View commit details
    Browse the repository at this point in the history