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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file check_requirements_txt-1.0.0.tar.gz.
File metadata
- Download URL: check_requirements_txt-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c4dac48cb4dfacd85365ce8037d092ec8458c246dfd9aea3eaed6c601ce369
|
|
| MD5 |
c6677080fca4439bd159b1bfcf7b1c33
|
|
| BLAKE2b-256 |
57d66718a5d40c79d07cd8d90358fa9a4199fbd0e975deae83e57673822421ad
|
File details
Details for the file check_requirements_txt-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: check_requirements_txt-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bbe6639e23a18fdac357d7aecaa3a586b4f01c15d13c586c8458575b1d93919
|
|
| MD5 |
2482ec2f8b364d9eba5316b43b151a0f
|
|
| BLAKE2b-256 |
02dfb534768598422ecf5356546d273ef26389ce91fcf3b18b2ba0ae8829c5f9
|