Skip to content

Commit

Permalink
Fix maximum line length
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 9, 2019
1 parent f7132d9 commit a6b13b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/pip/_internal/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,9 @@ def get_lib_location_guesses(*args, **kwargs):


def site_packages_writable(**kwargs):
return all(test_writable_dir(d) for d in get_lib_location_guesses(**kwargs))
return all(
test_writable_dir(d) for d in get_lib_location_guesses(**kwargs)
)


def create_env_error_message(error, show_traceback, using_user_site):
Expand Down
4 changes: 3 additions & 1 deletion src/pip/_internal/utils/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,6 @@ def _test_writable_dir_win(path):
return True

# This should never be reached
raise EnvironmentError('Unexpected condition testing for writable directory')
raise EnvironmentError(
'Unexpected condition testing for writable directory'
)

0 comments on commit a6b13b6

Please sign in to comment.