Skip to content

Commit

Permalink
Remove dead code (#1940)
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev authored Jul 29, 2023
1 parent b55abdc commit de746ec
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions piptools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,16 +669,6 @@ def select_config_file(src_files: tuple[str, ...]) -> Path | None:
)


# Some of the defined click options have different `dest` values than the defaults
NON_STANDARD_OPTION_DEST_MAP: dict[str, str] = {
"extra": "extras",
"upgrade_package": "upgrade_packages",
"resolver": "resolver_name",
"user": "user_only",
"pip_args": "pip_args_str",
}


def get_cli_options(ctx: click.Context) -> dict[str, click.Parameter]:
cli_opts = {
opt: option
Expand Down

0 comments on commit de746ec

Please # to comment.