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

add --check flag to pdm lock #1460

Merged
merged 4 commits into from
Oct 25, 2022
Merged

Conversation

tgolsson
Copy link
Contributor

Pull Request Check List

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Added a --check flag to pdm lock as discussed in #1459. I followed the pattern from install, which I wasn't aware of. I do think lock --check is a more logical check and easier to discover.

image

Copy link
Collaborator

@frostming frostming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a minor tweek of the UI style and we are good to go.

src/pdm/cli/commands/lock.py Outdated Show resolved Hide resolved
src/pdm/cli/commands/lock.py Outdated Show resolved Hide resolved
@frostming frostming linked an issue Oct 25, 2022 that may be closed by this pull request
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.

Add a command for validating lockfile validity/freshness
2 participants