mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user