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 stemming from getattr #9889

Merged
merged 4 commits into from Jan 8, 2021
Merged

Commits on Jan 7, 2021

  1. Fix type errors stemming from getattr

    Fixes python#9888
    
    I applied the following patch to typeshed and ran self check:
    ```
    +@overload
    +def getattr(__o: Any, name: str, __default: None) -> Optional[Any]: ...
    +@overload
     def getattr(__o: Any, name: str, __default: Any = ...) -> Any: ...
     ```
    hauntsaninja committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    718bd35 View commit details
    Browse the repository at this point in the history
  2. fix flake8 error

    hauntsaninja committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    2ac5ce1 View commit details
    Browse the repository at this point in the history
  3. fallback to package_id

    hauntsaninja committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    4225a84 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. fix trailing whitespace

    hauntsaninja committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    21dc001 View commit details
    Browse the repository at this point in the history