Identify invalid/unknown options or environment variables via "pip config debug" #8523
Labels
C: configuration
Configuration management and loading
type: enhancement
Improvements to functionality
Now that #6741 has been closed, a follow up for that has been requested in #8096 (review)
To reiterate, we should be able identify options specified in pip config files which are invalid, optionally trying to identify the closest option available to the provided option, and suggesting it to the user.
For e.g.
PIP_TOTO=titi pip config debug
should state thatTOTO
is an invalid option, but for something likeglobal.timout: 10
, we can both state thattimout
is an invalid option, buttimeout
is a suggestion which can be suggested.We should ideally discuss first on whether this is a good enough extension of
debug
subcommand ofpip config
to be implemented, and come up with a rough idea to implement it, and iterate on it over a PR.The text was updated successfully, but these errors were encountered: