This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Pylint addon to store lint exceptions in a patchfile.

Overview

Pylint can be a bit noisy with false positives. By default, these can be ignored by:

  • Disabling warnings inline (littering your code with “# pylint: disable=” pragmas)
  • Disabling warnings globally (causing real problems to be missed)
  • Accepting a low Pylint score

Pylint Patcher provides another solution:

  1. Individual lint exceptions are stored in a patchfile (.pylint-disable.patch)
  2. The patchfile is applied to the source before Pylint is run
  3. The patchfile is removed from the source after Pylint completes

Installation

pip install pylint-patcher

Usage

Running Pylint Patcher

Pylint Patcher is run in exactly the same manner as Pylint. It accepts all the same arguments:

pylint-patcher path/to/package_or_module

This applies the patchfile (if it exists), runs Pylint, then removes the patchfile.

For more details, use the --help option.

Creating a Patchfile

The easiest way to create and maintain a patchfile is to use the pylint-patcher-gui tool:

pylint-patcher-gui

This runs a modified version of pylint-gui, allowing Pylint warnings to be added to the patchfile:

  1. Open a module or package, and click Run.
  2. Once the lint completes, double-click the warnings in the bottom pane to show them in the source pane.
  3. If a warning is invalid, right-click it and select Add to ignore patchfile.
  4. Once you’re finished, click Run again, and confirm that the warnings have been disabled.

Development

All development takes place at the Pylint Patcher GitHub site. Further information about Pylint can be found at the Pylint Bitbucket site.

Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pylint-patcher-0.3.2.tar.gz (11.7 kB) Copy SHA256 Checksum SHA256 Source Dec 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting