Skip to content
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

Minor UI fixes for the new lock strategy arguments #2329

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

whitequark
Copy link
Contributor

See commits for details. This PR introduces no functional change.

Before/after:

    $ pdm run pdm lock -S someflag
    [PdmUsageError]: Invalid strategy flag: someflag, supported: frozenset({'static_urls', 'cross_platform', 'direct_minimal_versions'})
    $ pdm run pdm lock -S someflag
    [PdmUsageError]: Invalid strategy flag: someflag, supported: static_urls, direct_minimal_versions, cross_platform
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/pdm/cli/options.py 94.91% <100.00%> (ø)
src/pdm/project/lockfile.py 85.50% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@frostming frostming merged commit 2c104aa into pdm-project:main Oct 24, 2023
@whitequark whitequark deleted the ui-fixes branch October 24, 2023 00:25
@j178 j178 mentioned this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants