From 8148b580cafc4cf0c9505fdafe00c2a2d0b3c18a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 27 Dec 2016 20:16:12 -0800 Subject: [PATCH] lint: Fix pep-8 rules on recently added files. --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index b9be62f..4475311 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,8 @@ # -*- coding: utf-8 -*- from __future__ import print_function -if False: from typing import Any, Generator, List, Tuple +if False: + from typing import Any, Generator, List, Tuple import os import sys @@ -14,7 +15,7 @@ def version(): version_py = os.path.join(os.path.dirname(__file__), "zulip", "__init__.py") with open(version_py) as in_handle: version_line = next(itertools.dropwhile(lambda x: not x.startswith("__version__"), - in_handle)) + in_handle)) version = version_line.split('=')[-1].strip().replace('"', '') return version @@ -54,7 +55,7 @@ package_info = dict( "examples/send-message", "examples/subscribe", "examples/unsubscribe", - ])] + list(recur_expand('share/zulip', 'integrations/')), + ])] + list(recur_expand('share/zulip', 'integrations/')), scripts=["bin/zulip-send"], ) # type: Dict[str, Any] @@ -63,7 +64,7 @@ setuptools_info = dict( 'simplejson', 'six', 'typing>=3.5.2.2', - ], + ], ) try: