coala / corobo

A bot to help newcomers onboard OS projects! It's awesome!
MIT License
66 stars 103 forks source link

final.py: Unused imports #585

Closed ankitxjoshi closed 6 years ago

ankitxjoshi commented 6 years ago

Pyflakes error report =>

./final.py:3: 'gensim.parsing.preprocessing.STOPWORDS' imported but unused
./final.py:4: 'gensim.utils.simple_preprocess' imported but unused
./final.py:6: 'nltk' imported but unused
nvzard commented 6 years ago

how come the PyUnusedCodeBear was not able to find these imports in the latest commit? https://github.com/coala/corobo/commit/18a5b33aac03dfdedc977356c4335832e7ca501f

ankitxjoshi commented 6 years ago

Even this =>

filters.py:1: 're' imported but unused
ankitxjoshi commented 6 years ago

It seems to be an issue with autoflake. It is unable to detect these imports. It did identified re. But not those mentioned above.

Prodyte commented 6 years ago

please assign me this issue.

ankitxjoshi commented 6 years ago

Ask on coala group on gitter for assignment.

ishanSrt commented 6 years ago

apparently PyUnusedCodeBear fails a lot to detect unused code. I created a few issues about it last month or so @nvzard