Add option to list configuration values optionally with origins #9930
Labels
Enhancement ✨
Improvement to a component
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Current problem
When trying to debug pylint configuration issues it can be difficult to identify what the current configuration values are and where they came from, (CLI or actual config file path). Given the multiple possible setting origins, many platform dependent, identifying the origin of many configuration settings can be challenging.
Desired solution
When I am trying to resolve configuration issues I would like to be able to issue commands such as
pylint --config-list
andpylint --config-list-show-origin
- then when it is suspected that a configuration issue if any is causing problems (e.g. not detecting an issue on one users machine that is reported on another or by CI/CT).Additional context
This would be similar to the
git config list
andgit config list --show-origin
command like options which I have often had to call upon to resolve issues withgit
.The text was updated successfully, but these errors were encountered: