Skip to content

Commit

Permalink
import warnings for line 282
Browse files Browse the repository at this point in the history
[flake8](http://flake8.pycqa.org) testing of https://github.com/chiphuyen/sotawhat on Python 3.7.1

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./sotawhat/sotawhat.py:281:13: F821 undefined name 'warnings'
            warnings.warn('On Windows, encoding errors may arise when displaying the data.\n'
            ^
1     F821 undefined name 'warnings'
1
```
  • Loading branch information
cclauss committed Nov 12, 2018
1 parent e09237e commit f46abb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sotawhat/sotawhat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
import urllib.error
import urllib.request
import warnings

import nltk
from nltk.tokenize import word_tokenize
Expand Down

0 comments on commit f46abb3

Please sign in to comment.