piptools.scripts.options module

piptools.scripts.options._get_default_option(option_name: str) Any

Get default value of the pip’s option (including option from pip.conf) by a given option name.

piptools.scripts.options.help_option(*, epilog: str | None = None) Callable[[_FC], _FC]

A variant of the built-in click --help option, customized for pip-tools.

Unlike click.help_option, this decorator accepts its own epilog text which is printed without indentation after help text.