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

Fix type errors in Pyright #999

Merged
merged 18 commits into from
Aug 30, 2022
Merged

Fix type errors in Pyright #999

merged 18 commits into from
Aug 30, 2022

Commits on Aug 10, 2022

  1. Fix type errors in Pyright

    MyPy treats the user-declared `MYPY` constant equivalently
    to `typing.TYPE_CHECKING` (see https://mypy.readthedocs.io/en/stable/more_types.html#conditional-overloads).
    This can be used to trick other type checkers into ignoring
    MyPy-specific types.
    
    `AttrsInstance` needs to be declared in a separate stub file so as to
    not export `MYPY`.
    layday committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    a804a4d View commit details
    Browse the repository at this point in the history
  2. Fix AttrsInstance re-export

    `x as y` only works if x and y are the same.
    layday committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    add19e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

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

Commits on Aug 15, 2022

  1. Type check _typing_compat

    layday committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    8ed30cf View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

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

Commits on Aug 18, 2022

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

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    ce67df1 View commit details
    Browse the repository at this point in the history
  2. Rename test case

    layday committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    f52783d View commit details
    Browse the repository at this point in the history
  3. Add inline comments

    layday committed Aug 19, 2022
    Configuration menu
    Copy the full SHA
    c64057a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Lint

    layday committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    6630909 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94acd6a View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

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

Commits on Aug 25, 2022

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

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    6240fb5 View commit details
    Browse the repository at this point in the history
  2. Sort imports

    layday committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    80464b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fda451e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c979a46 View commit details
    Browse the repository at this point in the history
  5. Add news fragment

    layday committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    36530d0 View commit details
    Browse the repository at this point in the history