Fix flake8 errors
This commit is contained in:
@@ -32,6 +32,7 @@ def find_files_recursively(items, exclude_patterns):
|
|||||||
os.path.normpath(os.path.expanduser(pattern))
|
os.path.normpath(os.path.expanduser(pattern))
|
||||||
for pattern in exclude_patterns or ()
|
for pattern in exclude_patterns or ()
|
||||||
}
|
}
|
||||||
|
|
||||||
def is_excluded(path, exclude_patterns):
|
def is_excluded(path, exclude_patterns):
|
||||||
"""Return True if any pattern in exclude_patterns matches path."""
|
"""Return True if any pattern in exclude_patterns matches path."""
|
||||||
path = os.path.normpath(path)
|
path = os.path.normpath(path)
|
||||||
|
|||||||
Reference in New Issue
Block a user