From ec910d96fcd3915102620c42cc5a89654a51d761 Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Mon, 8 Aug 2016 14:24:50 +0500 Subject: [PATCH] Annotate zerver/storage.py. --- zerver/storage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zerver/storage.py b/zerver/storage.py index ac8296cfa9..a52dcc9d05 100644 --- a/zerver/storage.py +++ b/zerver/storage.py @@ -2,6 +2,7 @@ from __future__ import absolute_import import os import shutil +from typing import List, Any, Tuple from django.conf import settings from django.contrib.staticfiles.storage import CachedFilesMixin, StaticFilesStorage @@ -9,6 +10,7 @@ from pipeline.storage import PipelineMixin class AddHeaderMixin(object): def post_process(self, paths, dry_run=False, **kwargs): + # type: (Dict[str, Tuple[ZulipStorage, str]], bool, **Any) -> List[Tuple[str, str, bool]] if dry_run: return [] @@ -55,6 +57,7 @@ class AddHeaderMixin(object): class RemoveUnminifiedFilesMixin(object): def post_process(self, paths, dry_run=False, **kwargs): + # type: (Dict[str, Tuple[ZulipStorage, str]], bool, **Any) -> List[Tuple[str, str, bool]] if dry_run: return []