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 details)

Uploaded Source

File details

Details for the file check-pipfile-lock-0.0.5.tar.gz.

File metadata

  • Download URL: check-pipfile-lock-0.0.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for check-pipfile-lock-0.0.5.tar.gz
Algorithm Hash digest
SHA256 154946323c9d655222aee6ea3b16f647f9687f54b28a42075a10e82e01022ae7
MD5 8dd6da3f6c6eb005e521934fdbbf4109
BLAKE2b-256 29ce8b35d597f24cca34b9bf2e31e949ef77945f22f10f0852c7634cb0e19985

See more details on using hashes here.

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