-
-
Notifications
You must be signed in to change notification settings - Fork 628
Add envvar for emit index url #2192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -640,7 +640,6 @@ This will be indicated in the output with one of the following suffixes: | |
- [pip-compile-multi](https://pip-compile-multi.readthedocs.io/en/latest/) - pip-compile command wrapper for multiple cross-referencing requirements files. | ||
- [pipdeptree](https://github.com/tox-dev/pipdeptree) to print the dependency tree of the installed packages. | ||
- `requirements.in`/`requirements.txt` syntax highlighting: | ||
|
||
|
||
- [requirements.txt.vim](https://github.com/raimon49/requirements.txt.vim) for Vim. | ||
- [Python extension for VS Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python) for VS Code. | ||
- [pip-requirements.el](https://github.com/Wilfred/pip-requirements.el) for Emacs. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -295,6 +295,7 @@ def _get_default_option(option_name: str) -> Any: | |
"--emit-index-url/--no-emit-index-url", | ||
is_flag=True, | ||
default=True, | ||
envvar="PIP_TOOLS_EMIT_INDEX_URL", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This probably needs tests and docs. |
||
help="Add index URL to generated file", | ||
) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.