We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9f15a commit 5c39223Copy full SHA for 5c39223
roundup/msgfmt.py
@@ -53,7 +53,9 @@ def header_charset(s):
53
return p.parsestr(s.encode('utf-8', 'ignore')).get_content_charset()
54
55
from cStringIO import StringIO as BytesIO
56
- FILE_TYPE = file
+ # file is a type defined only under python 2.
57
+ # Flake8 when run in py3 flags this.
58
+ FILE_TYPE = file # noqa: 821
59
60
61
class PoSyntaxError(Exception):
0 commit comments