Skip to content

Commit

Permalink
Merge pull request #824 from timothycrosley/feature/fix-issue-792
Browse files Browse the repository at this point in the history
Fix issue #792
  • Loading branch information
timothycrosley authored Feb 24, 2019
2 parents 67c04e1 + 65064ca commit cd9b070
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions isort/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import os
import posixpath
import re
import stat
import sys
import warnings
from collections import namedtuple
Expand Down Expand Up @@ -336,4 +337,7 @@ def should_skip(filename, config, path='/'):
if fnmatch.fnmatch(filename, glob):
return True

if stat.S_ISFIFO(os.stat(normalized_path).st_mode):
return True

return False

0 comments on commit cd9b070

Please sign in to comment.