Files
cheatsheet-tldr/tldr/poetry-check
2025-09-12 00:18:39 +00:00

23 lines
469 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# poetry check
> Manage Poetry file validation and consistency.
> See also: `asdf`.
> More information: <https://python-poetry.org/docs/cli/#check>.
- Check validation and consistency between `pyproject.toml` and `poetry.lock` for Poetry:
`poetry check`
- Verify that `poetry.lock` exists:
`poetry check --lock`
- Fail if warnings are reported:
`poetry check --strict`