File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -688,14 +688,17 @@ def matches_exclude(
688688 if re .search (exclude , subpath_str ):
689689 if verbose :
690690 print (
691- f"TRACE: Excluding { subpath_str } (matches pattern { exclude } )" , file = sys .stderr
691+ f"TRACE: Excluding { subpath_str } (matches pattern { exclude } )" ,
692+ file = sys .stderr ,
692693 )
693694 return True
694695 except re .error as e :
695696 print (f"error: The exclude { exclude } is an invalid regular expression, because:" , e )
696- if ' \\ ' in exclude :
697+ if " \\ " in exclude :
697698 print ("(Hint: use / as a path separator, even if you're on Windows!)" )
698- print ("For more information on Python's flavor of regex, see: https://docs.python.org/3/library/re.html" )
699+ print (
700+ "For more information on Python's flavor of regex, see: https://docs.python.org/3/library/re.html"
701+ )
699702 sys .exit (2 )
700703 return False
701704
You can’t perform that action at this time.
0 commit comments