Document that poetry lock --check validates pyproject.toml#6704
Document that poetry lock --check validates pyproject.toml#6704johnthagen wants to merge 1 commit intopython-poetry:masterfrom johnthagen:patch-1
poetry lock --check validates pyproject.toml#6704Conversation
|
This is more a consequence of the fact that loading the config (basically I'm saying that most commands will validate pyproject.toml since we don't read it lazily to populate the internal representation, but I'm not sure there's a good way to communicate that. This is correct, just not exhaustive. |
|
My motivation is to be able to point co-workers at a canonical, single command to validate Poetry config and lockfile freshness. I think ideally I agree with Sebastian's comment from last year that this would have been implemented as In terms of the status quo, should developers not rely on the side effect that I'd like be sure I'm not recommending relying on some internal behavior of Poetry. |
|
I wouldn't mind deprecating |
|
Closing in favor of |
|
In case anyone comes across this, I learned today that So, to get the full amount of checking, a user currently needs to run two steps in CI: As mentioned above, this UX would be improved with: |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Document that the behavior of
poetry lock --checkalso essentially runspoetry check: