Skip to main content

A tiny console script to verify you have pinned all of your python requirements

Project description

https://img.shields.io/travis/coagulant/pinner.svg https://img.shields.io/pypi/v/pinner.svg https://img.shields.io/badge/licence-BSD-blue.svg

A tiny console script to verify you have pinned all of your python requirements.

Why you should specify exact version in requirements.txt

Example:

$ cat requirements.txt
PIL
coveralls>=1.0a1
responses==0.3.0
git+https://github.com/miracle2k/django-assets.git@master#egg=django_assets
-e git+git://github.com/miracle2k/webassets.git@9956fb86c1c750672324b2c95c9a464a0ef11a4f#egg=webassets
git+https://github.com/fcurella/django-recommends.git#egg=django_recommends

$ pinner
./requirements.txt:1:1: R001 Dependency PIL not pinned
./requirements.txt:2:1: R002 Dependency coveralls should be pinned to exact version
./requirements.txt:4:1: R004 VCS dependency django_assets specifies branch/tag, commit expected
./requirements.txt:6:1: R003 VCS dependency django_recommends lacks revision specifier
[4]

You can use it in your commit hook or CI tests

Changelog

0.1.0 (2015-03-01)

  • First release on PyPI

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pinner, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pinner-1.0-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size pinner-1.0.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page