Don't Fudge Up
==============
Don't Fudge Up production with extra prints, import debug, or an erroneous pdb.set_trace.
Installation
------------
such pip so wow::
$ pip install dont-fudge-up
Flake8
------
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 -------^
Pylint
------
It should work something like this::
$ pylint --load-plugins=dfu.pylint tests/input.py
Error Codes
-----------
D000: stylistically bad for production but mostly harmless
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D001
raised on leaving a print statement in the code
D100: warnings which effect production performance but are usually not fatal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D101
Cautioned import for production
::
import pdb # on its own, harmless...
D102
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D501
Forbidden import for production
::
import debug # woah there cowboy, that's an issue
D502
pdb.set_trace is forbidden in production
Metadata
Release files for dont-fudge-up 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dont-fudge-up-0.0.6.tar.gz | 21.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dont_fudge_up-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 47.2 kB
Release files / dont-fudge-up-0.0.6.tar.gz
| Download URL | dont-fudge-up-0.0.6.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b63c9383b1649554d2e9c6ca3f7d543da8cf900da185a6a1b03fc5980eda114
|
|
BLAKE2b-256 checksum How to use checksums |
293b9d7252e968f5c625eb3ce8e94722fef4eb5e2464c563ef179191a96e373e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dont_fudge_up-0.0.6-py2.py3-none-any.whl
| Download URL | dont_fudge_up-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
025c1177d7a794576a4d219c0b317c185a16d2087138050acc7ff0b8237b5227
|
|
BLAKE2b-256 checksum How to use checksums |
7c497d71b1eed7635e3edeb1d8cd652d9f898d3faa3d5b0247e1c16d4e6b3066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dont-fudge-up 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.