openai / deeptype

Code for the paper "DeepType: Multilingual Entity Linking by Neural Type System Evolution"
https://arxiv.org/abs/1802.01021
Other
648 stars 145 forks source link

Undefined name 'config' in wikipedia.py #6

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/openai/deeptype on Python 3.6.4

$ time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./wikidata_linker_utils_src/src/python/wikidata_linker_utils/wikipedia.py:47:12: F821 undefined name 'config'
    name = config.wiki.split("/")[-1]
           ^
1     F821 undefined name 'config'
JonathanRaiman commented 6 years ago

Fixed now, thanks!