From c23901c3a82672687ba379cd7106c9f436b15b0d Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sun, 7 May 2017 20:31:30 +0530 Subject: [PATCH] pep8: Add compliance with rule E261 to fenced_code.py. --- zerver/lib/bugdown/fenced_code.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zerver/lib/bugdown/fenced_code.py b/zerver/lib/bugdown/fenced_code.py index 620044bbd5..fb8a5eb3d0 100644 --- a/zerver/lib/bugdown/fenced_code.py +++ b/zerver/lib/bugdown/fenced_code.py @@ -134,13 +134,13 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): markdown.preprocessors.Preprocessor.__init__(self, md) self.checked_for_codehilite = False - self.codehilite_conf = {} # type: Dict[str, List[Any]] + self.codehilite_conf = {} # type: Dict[str, List[Any]] def run(self, lines): # type: (Iterable[Text]) -> List[Text] """ Match and store Fenced Code Blocks in the HtmlStash. """ - output = [] # type: List[Text] + output = [] # type: List[Text] class BaseHandler(object): def handle_line(self, line): @@ -152,7 +152,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): raise NotImplementedError() processor = self - handlers = [] # type: List[BaseHandler] + handlers = [] # type: List[BaseHandler] def push(handler): # type: (BaseHandler) -> None @@ -201,7 +201,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): self.output = output self.fence = fence self.lang = lang - self.lines = [] # type: List[Text] + self.lines = [] # type: List[Text] def handle_line(self, line): # type: (Text) -> None @@ -226,7 +226,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): # type: (MutableSequence[Text], Text) -> None self.output = output self.fence = fence - self.lines = [] # type: List[Text] + self.lines = [] # type: List[Text] def handle_line(self, line): # type: (Text) -> None @@ -250,7 +250,7 @@ class FencedBlockPreprocessor(markdown.preprocessors.Preprocessor): # type: (MutableSequence[Text], Text) -> None self.output = output self.fence = fence - self.lines = [] # type: List[Text] + self.lines = [] # type: List[Text] def handle_line(self, line): # type: (Text) -> None