Skip to content

reportPrivateUsage from pyright is not covered by no-access #3659

Closed

Description

Activity

  1. stroxler commented on Jun 3, 2026

    @stroxler
    Contributor

    Thanks for the issue.

    This seems like a good feature. If anyone picks this up: it would likely be worth considering using heuristics to determine when we are in a test, and either disabling the error entirely or using a separate error code; in my experience the use of private attributes in tests is very common.

    People trying to be very disciplined will usually avoid it, which is why a separate error code might be the best way to meet users wanting very different levels of safety where they are

  2. added theissue type on Jun 3, 2026
  3. added
    help wantedLarger than "good first issue", but still well-defined and ready for someone to pick up
    on Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-open-prhelp wantedLarger than "good first issue", but still well-defined and ready for someone to pick uptypechecking

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions