mypy: Remove a bunch of now-unnecessary type: ignore annotations.

Since mypy and typeshed have advanced a lot over the last several
months, we no longer need these `type: ignore` annotations.
This commit is contained in:
Tim Abbott
2016-10-16 23:22:00 -07:00
parent 3b0b65c2d0
commit 4a4664d268
13 changed files with 17 additions and 17 deletions

View File

@@ -350,7 +350,7 @@ class GitHubAuthBackend(SocialAuthMixin, GithubOAuth2):
# type: (*Any, **Any) -> Optional[UserProfile]
kwargs['return_data'] = {}
request = self.strategy.request # type: ignore # This comes from Python Social Auth.
request = self.strategy.request
kwargs['realm_subdomain'] = get_subdomain(request)
user_profile = None