Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Find operations that might fudge up production, like a pdb.set_trace

Project Description
Don't Fudge Up

Don't Fudge Up production with extra prints, import debug, or an erroneous pdb.set_trace.

such pip so wow::

$ pip install dont-fudge-up

The plug-in will automatically register with Flake8::

$ flake8 --version
2.1.0 (pep8: 1.5.6, dfu: 1.0.0, pyflakes: 0.8.1, mccabe: 0.2.1) CPython 2.7.6
# see it here -------^


It should work something like this::

$ pylint --load-plugins=dfu.pylint tests/

Error Codes

D000: stylistically bad for production but mostly harmless

raised on leaving a print statement in the code

D100: warnings which effect production performance but are usually not fatal

Cautioned import for production
import pdb # on its own, harmless...

set_trace may be fatal in production (set_trace might be from pdb)

D500: errors that are forbidden for production and are near always fatal

Forbidden import for production
import debug # woah there cowboy, that's an issue

pdb.set_trace is forbidden in production
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dont_fudge_up-0.0.6-py2.py3-none-any.whl (25.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 21, 2016
dont-fudge-up-0.0.6.tar.gz (21.8 kB) Copy SHA256 Checksum SHA256 Source Jun 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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