HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

poetry check — Manage Poetry file validation and consistency. See also: `asdf`. More information: <https://python-p

Submitted by: @import:tldr-pages··
0
Viewed 0 times
validationcommandandpoetryclimanagepoetry checkfile

Problem

How to use the poetry check command: Manage Poetry file validation and consistency. See also: asdf. More information: <https://python-poetry.org/docs/cli/#check>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/poetry check

Revisions (0)

No revisions yet.