Check the missing packages in requirements.txt
Project description
check-requirements-txt
A tool (and pre-commit hook) to automatically check the missing packages in requirements.txt.
Install
First install this package into current python env
python setup.py install
Then set up pre-commit
hooks
See pre-commit for instructions
Sample .pre-commit-config.yaml
:
NOTE: Due to the pre-commit isolated pyenv runtime, this package can't be act as a normal git repo pre-commit hooks
default_stages: [commit]
repos:
- repo: local
hooks:
- id: check-requirements-txt
name: check-requirements-txt
description: Check the missing packages in requirements.txt.
entry: check-requirements-txt
args: ['--ignore', 'pip,']
language: python
types: [python]
check-requirements-txt
can be used as a normal cli tool, see check-requirements-txt --help
for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for check_requirements_txt-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c4dac48cb4dfacd85365ce8037d092ec8458c246dfd9aea3eaed6c601ce369 |
|
MD5 | c6677080fca4439bd159b1bfcf7b1c33 |
|
BLAKE2b-256 | 57d66718a5d40c79d07cd8d90358fa9a4199fbd0e975deae83e57673822421ad |
Close
Hashes for check_requirements_txt-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bbe6639e23a18fdac357d7aecaa3a586b4f01c15d13c586c8458575b1d93919 |
|
MD5 | 2482ec2f8b364d9eba5316b43b151a0f |
|
BLAKE2b-256 | 02dfb534768598422ecf5356546d273ef26389ce91fcf3b18b2ba0ae8829c5f9 |