This package bridges gap in pipenv tooling by providing quick and easy way to check whether Pipfile.lock in question is consistent with the corresponding Pipfile without doing anything else.
I find it particularly useful with pre-commit hooks (see below)
check-pipfile-lock <path to Pipfile.lock>
If no path to Pipfile.lock
is provided, the current
directory is assumed.
Here is the configuration for pre-commit framework.
- repo: https://github.com/haizaar/check-pipfile-lock
rev: v0.0.5
hooks:
- id: check-pipfile-lock
echo 'layout pipenv' > .envrc
direnv allow # will take a while
make bootstrap