Closed AstraLuma closed 3 months ago
Filed https://github.com/python-poetry/poetry/issues/9602 because it doesn't look like there's an easy way to fail if "User updated dependencies without updating lock" without failing if "transitive dependency updated".
Apparently poetry check
also checks deps/lock consistency, in addition to a basic lint check, so this is fine.
The poetry lock pre-commit check run in
--all-files
mode will update the lock file if any transitive dependency has an update.It should only fail if
pyproject.toml
has been updated and the lockfile is out of date.