Check pipenv's Pipfile.lock to be consistent with Pipfile
Project description
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size check-pipfile-lock-0.0.5.tar.gz (3.8 kB) | File type Source | Python version None | Upload date | Hashes View |