check-pip-compile-0.1.1
توضیحات
Check if a requirements.txt file needs to be pip-compiled
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | check-pip-compile-0.1.1 |
| نام | check-pip-compile |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | ['Martin Thoma'] |
| ایمیل نگهدارنده | ['info@martin-thoma.de'] |
| نویسنده | Martin Thoma |
| ایمیل نویسنده | info@martin-thoma.de |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/check-pip-compile/ |
| مجوز | MIT license |
[](https://badge.fury.io/py/check-pip-compile)
[](https://github.com/MartinThoma/check-pip-compile)
[](https://github.com/psf/black)
# check_pip_compile
Automatically verify if you need to run [pip-compile](https://pypi.org/project/pip-tools/).
## Usage
You can use it as a [pre-commit](https://pre-commit.com/) hook:
```yaml
- repo: https://github.com/MartinThoma/check-pip-compile
rev: 0.1.0
hooks:
- id: check-pip-compile
args: ['.'] # it's recommended to specify the files you want
```
or via command line:
```
$ check_pip_compile .
Run 'pip-compile requirements-dev.in' (2020-09-22 22:47:11.551971), as requirements-dev.txt (2020-09-02 09:53:58.287945) might be outdated
Run 'pip-compile setup.py', as no corresponding txt file exists
$ check_pip_compile setup.py requirements-lint.in
Run 'pip-compile setup.py', as no corresponding txt file exists
```
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl check-pip-compile-0.1.1:
pip install check-pip-compile-0.1.1.whl
نصب پکیج tar.gz check-pip-compile-0.1.1:
pip install check-pip-compile-0.1.1.tar.gz