We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b14a97e + 69e2b69 commit 56d211cCopy full SHA for 56d211c
pep8.py
@@ -55,6 +55,7 @@
55
import inspect
56
import keyword
57
import tokenize
58
+import errno
59
from optparse import OptionParser
60
from fnmatch import fnmatch
61
try:
@@ -1672,6 +1673,9 @@ def check_files(self, paths=None):
1672
1673
runner(path)
1674
except KeyboardInterrupt:
1675
print('... stopped')
1676
+ except IOError as e:
1677
+ if e.errno != errno.EPIPE:
1678
+ raise e
1679
report.stop()
1680
return report
1681
0 commit comments