Skip to content

Check pipenv's Pipfile.lock to be consistent with Pipfile

License

Notifications You must be signed in to change notification settings

zarmory/check-pipfile-lock

Repository files navigation

check-pipfile-lock

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)

Usage

check-pipfile-lock <path to Pipfile.lock>

If no path to Pipfile.lock is provided, the current directory is assumed.

Pre-commit hook

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

Development

echo 'layout pipenv' > .envrc
direnv allow  # will take a while
make bootstrap

About

Check pipenv's Pipfile.lock to be consistent with Pipfile

Resources

License

Stars

Watchers

Forks

Packages

No packages published