Traceback (most recent call last):


 "/opt/virtualenv/django/bin/mypy", line 11, in <module>

sys.exit(console_entry())


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/__main__.py", line 7, in console_entry

main(None)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/main.py", line 50, in main

res = type_check_only(sources, bin_dir, options)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/main.py", line 97, in type_check_only

options=options)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/build.py", line 196, in build

graph = dispatch(sources, manager)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/build.py", line 1801, in dispatch

process_graph(graph, manager)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/build.py", line 2044, in process_graph

process_stale_scc(graph, scc, manager)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/build.py", line 2139, in process_stale_scc

graph[id].semantic_analysis()


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/build.py", line 1696, in semantic_analysis

self.manager.semantic_analyzer.visit_file(self.tree, self.xpath, self.options, patches)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 295, in visit_file

self.accept(d)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 3645, in accept

node.accept(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/nodes.py", line 565, in accept

return visitor.visit_func_def(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 418, in visit_func_def

self.analyze_function(defn)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 627, in analyze_function

defn.body.accept(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/nodes.py", line 815, in accept

return visitor.visit_block(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 1522, in visit_block

self.accept(s)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 3645, in accept

node.accept(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/nodes.py", line 859, in accept

return visitor.visit_assignment_stmt(self)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 1581, in visit_assignment_stmt

self.process_namedtuple_definition(s)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 2126, in process_namedtuple_definition

named_tuple = self.check_namedtuple(s.rvalue, name)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 2157, in check_namedtuple

return self.build_namedtuple_typeinfo('namedtuple', [], [], {})


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 2275, in build_namedtuple_typeinfo

info = self.basic_new_typeinfo(name, fallback)


 "/opt/virtualenv/django/lib/python3.5/site-packages/mypy/semanal.py", line 2251, in basic_new_typeinfo

info.mro = [info] + basetype_or_fallback.type.mro
TypeError: can only concatenate list (not "NoneType") to list

Traceback (most recent call last):


 "learner.py", line 32, in <module>

print(fdist.tabulate())


 "<edited>/env/lib/python3.7/site-packages/nltk/probability.py", line 333, in tabulate

width = max(len("%s" % s) for s in samples)


 "<edited>/env/lib/python3.7/site-packages/nltk/probability.py", line 333, in <genexpr>

width = max(len("%s" % s) for s in samples)
TypeError: not all arguments converted during string formatting
