Traceback (most recent call last):


 "/Users/peter/.local/share/virtualenvs/testpy-XO9km9Nb/bin/stubgen", line 10, in <module>

sys.exit(main())


 "mypy/stubgen.py", line 1191, in main


 "mypy/stubgen.py", line 1075, in generate_stubs


 "mypy/stubgen.py", line 899, in collect_build_targets


 "mypy/stubgen.py", line 930, in find_module_paths_using_imports
TypeError: tuple object expected

Traceback (most recent call last):


 "test.py", line 16, in <module>

print env.get_template('test').render(foobar='test')


 "/home/adrian/dev/indico/env/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)


 "/home/adrian/dev/indico/env/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)


 "<template>", line 1, in top-level template code


 "<template>", line 1, in top-level template code
TypeError: resolve_or_missing() takes at least 2 arguments (1 given)
