File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 3030
3131warnings .filterwarnings ("ignore" , category = DeprecationWarning ) # noqa
3232
33- from wordcloud import WordCloud
34-
35- import nltk
36- import nltk .collocations
37- from nltk .stem .wordnet import WordNetLemmatizer
38-
39- import pandas as pd
40- from csv import writer
41-
33+ # Flake doesnt like imports after the line above, but we have to have the line above to
34+ # prevent deprecation warnings from these third party packages sending spurious output
35+ # which we dont want, as it is 'seen' as an error when using this code through Mercury.
36+
37+ from wordcloud import WordCloud # noqa
38+ import nltk # noqa
39+ import nltk .collocations # noqa
40+ from nltk .stem .wordnet import WordNetLemmatizer # noqa
41+ import pandas as pd # noqa
42+ from csv import writer # noqa
4243
4344class FrequencyCalculator :
4445 """
You can’t perform that action at this time.
0 commit comments