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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file check_pip_compile-0.1.1.tar.gz.

File metadata

  • Download URL: check_pip_compile-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.7

File hashes

Hashes for check_pip_compile-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bc4ca45c3d2240bcd2327826dc50fc2c163a66d5b061396be2b937d9f3242394
MD5 6f2bfa0f370587f86b11f93dfc5035a2
BLAKE2b-256 f4b1eab6c34d77eadc1a74a37f4f5464372df5fda6f7653c13ccdd6250cd29a1

See more details on using hashes here.

File details

Details for the file check_pip_compile-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: check_pip_compile-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.7

File hashes

Hashes for check_pip_compile-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 912ae5a788991c1afaa4703bcd81b0145da226ce61f5d7c90d9e658a1fb5afd3
MD5 3cf4880f94a59b06e6e7e72fca546139
BLAKE2b-256 285842f18f00cbea460535426d554985215aa412e4112e75c293bd22cae58f01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page