Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 31, 2022
1 parent ea19612 commit 21f185a
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions piptools/scripts/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,17 @@ def cli(
)
to_install, to_uninstall = sync.diff(merged_requirements, installed_dists)

install_flags = (
_compose_install_flags(
finder,
no_index=no_index,
index_url=index_url,
extra_index_url=extra_index_url,
trusted_host=trusted_host,
find_links=find_links,
user_only=user_only,
cert=cert,
client_cert=client_cert,
)
+ shlex.split(pip_args or "")
)
install_flags = _compose_install_flags(
finder,
no_index=no_index,
index_url=index_url,
extra_index_url=extra_index_url,
trusted_host=trusted_host,
find_links=find_links,
user_only=user_only,
cert=cert,
client_cert=client_cert,
) + shlex.split(pip_args or "")
sys.exit(
sync.sync(
to_install,
Expand Down

0 comments on commit 21f185a

Please sign in to comment.