Add PEP-484 type annotations to api/.

It's not clear this is net constructive since it makes our API
bindings harder to install.
This commit is contained in:
Tim Abbott 2016-01-25 17:29:47 -08:00
parent 2ac67f12ac
commit e2e010156e

View file

@ -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):