Skip to content

Commit 9b47bc0

Browse files
committed
Make black formatter happy
1 parent 25f4e6e commit 9b47bc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pip/_internal/utils/misc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ def rmtree(dir: str, ignore_errors: bool = False) -> None:
133133
shutil.rmtree(dir, ignore_errors=ignore_errors, onerror=rmtree_errorhandler)
134134

135135

136-
def rmtree_errorhandler(func: Callable[..., Any], path: str, exc_info: Union[ExcInfo, BaseException]) -> None:
136+
def rmtree_errorhandler(
137+
func: Callable[..., Any], path: str, exc_info: Union[ExcInfo, BaseException]
138+
) -> None:
137139
"""On Windows, the files in .svn are read-only, so when rmtree() tries to
138140
remove them, an exception is thrown. We catch that here, remove the
139141
read-only attribute, and hopefully continue without problems."""

0 commit comments

Comments
 (0)