From e2e010156e8c32185f32f540865f884d3cfd2187 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 25 Jan 2016 17:29:47 -0800 Subject: [PATCH] Add PEP-484 type annotations to api/. It's not clear this is net constructive since it makes our API bindings harder to install. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 48a5b79..2994d71 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,8 @@ # -*- coding: utf-8 -*- from __future__ import print_function +from typing import * + import os import sys @@ -16,6 +18,7 @@ def version(): return version def recur_expand(target_root, dir): + # type: (Any, Any) -> Generator[Tuple[str, List[str]], None, None] for root, _, files in os.walk(dir): paths = [os.path.join(root, f) for f in files] if len(paths):