Skip to main content

Grandfather in specific pylint failures

Project description

# pylint-grandfather

[![Build Status](](

# Introduction
Sometimes, you have an old project that you'd like to introduce pylint to. Usually, this is a huge feat, because the old project might have hundreds or thousands (or more!) lint issues. Fixing all of these issues might actually introduce more bugs than it solves, depending on how long the project has been running. pylint-grandfather allows you to grandfather in old code, while still enforcing that all new or changed code is pylint compliant.

# Quick Start
pip install pylint-grandfather
pylint my_base_dir | pylint-grandfather --base_dir my_base_dir

Note that this will actually touch all files, so be sure to do this with a clean working directory.

# Usage
usage: [-h] [--base-dir BASE_DIR] [--dry-run DRY_RUN]

positional arguments:
infile Output from a pylint run

optional arguments:
-h, --help show this help message and exit
--base-dir BASE_DIR Base directory for pylint run
--dry-run DRY_RUN Output what files will be changed, but do not change

# Release Notes
* 1.0.0 - Initial version

Project details

Download files

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

Files for pylint-grandfather, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pylint_grandfather-1.0.0-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pylint-grandfather-1.0.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page