From 5462341cb403da13a912838466aea6021f7dfb71 Mon Sep 17 00:00:00 2001 From: Taranjeet Singh Date: Sun, 17 Jul 2016 23:19:53 +0530 Subject: [PATCH] zerver/views/webhooks/github.py: Fix lines with length greater than 120. --- zerver/views/webhooks/github.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/zerver/views/webhooks/github.py b/zerver/views/webhooks/github.py index fd4302d2cb..7fa4cac3b3 100644 --- a/zerver/views/webhooks/github.py +++ b/zerver/views/webhooks/github.py @@ -59,7 +59,8 @@ def api_github_v1(user_profile, event, payload, branches, stream, **kwargs): return api_github_v2(user_profile, event, payload, branches, stream, commit_stream, issue_stream, **kwargs) -def api_github_v2(user_profile, event, payload, branches, default_stream, commit_stream, issue_stream, topic_focus = None): +def api_github_v2(user_profile, event, payload, branches, default_stream, + commit_stream, issue_stream, topic_focus = None): # type: (UserProfile, text_type, Mapping[text_type, Any], text_type, text_type, text_type, text_type, Optional[text_type]) -> Tuple[text_type, text_type, text_type] """ processes github payload with version 2 field specification @@ -206,9 +207,12 @@ def api_github_landing(request, user_profile, event=REQ(), # Map payload to the handler with the right version if version == 2: - target_stream, subject, content = api_github_v2(user_profile, event, payload, branches, stream, commit_stream, issue_stream, **kwargs) + target_stream, subject, content = api_github_v2(user_profile, event, payload, branches, + stream, commit_stream, issue_stream, + **kwargs) else: - target_stream, subject, content = api_github_v1(user_profile, event, payload, branches, stream, **kwargs) + target_stream, subject, content = api_github_v1(user_profile, event, payload, branches, + stream, **kwargs) request.client = get_client('ZulipGitHubWebhook') return send_message_backend(request, user_profile,