diff options
Diffstat (limited to 'isort/settings.py')
-rw-r--r-- | isort/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/settings.py b/isort/settings.py index 6504be53..525c1315 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -402,7 +402,7 @@ def file_should_be_skipped( position = os.path.split(position[0]) for glob in config['skip_glob']: - if fnmatch.fnmatch(filename, glob): + if fnmatch.fnmatch(filename, glob) or fnmatch.fnmatch('/' + filename, glob): return True if not (os.path.isfile(os_path) or os.path.isdir(os_path) or os.path.islink(os_path)): |