-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
fix: proper display for extra Pypi indexes config #1622
Conversation
08c3029
to
47509d9
Compare
for more information, see https://pre-commit.ci
Codecov ReportBase: 85.26% // Head: 85.20% // Decreases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #1622 +/- ##
==========================================
- Coverage 85.26% 85.20% -0.07%
==========================================
Files 92 92
Lines 8490 8550 +60
Branches 1831 1846 +15
==========================================
+ Hits 7239 7285 +46
- Misses 843 850 +7
- Partials 408 415 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Frost Ming <mianghong@gmail.com>
Pull Request Check List
news/
describing what is new.Describe what you have changed in this PR.
About issue #1616
Display repository config and Pypi indexes config using
pdm config
.pdm config -v
will also add a simple comment for repositories/indexes.pdm config pypi.<index>
,pdm config pypi.<index>.<key>
now work likepdm config repository.<name>
andpdm config repository.<name>.key
, and hide passwords.Not super happy about the fix, as there is a lot of similar code for indexes and repositories, and it's very much custom and doesn't use a system like
Config
's_config_map
, but I'm a little chilly about making more in-depth changes.Samples
Using the following
config.toml
$ pdm config
$ pdm config -v