Skip to main content

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

Project description

https://img.shields.io/pypi/v/check-pipfile-lock.svg https://img.shields.io/travis/haizaar/check-pipfile-lock.svg https://img.shields.io/pypi/dm/check-pipfile-lock.svg

This package bridges gab 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check-pipfile-lock-0.0.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page