Skip to main content

Check if a requirements.txt file needs to be pip-compiled

Project description

PyPI version Code on Github Code style: black

check_pip_compile

Automatically verify if you need to run pip-compile.

Usage

You can use it as a pre-commit hook:

-   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

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_pip_compile-0.1.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

check_pip_compile-0.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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