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.

Source Distribution

pinner-1.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pinner-1.0-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 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