Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

ipdb/pdb statement checker plugin for flake8

Project Description

Flake8 debugger plugin
==================

Check for pdb;idbp imports and set traces, as well as `from IPython.terminal.embed import InteractiveShellEmbed` and `InteractiveShellEmbed()()`.

This module provides a plugin for ``flake8``, the Python code checker.


Installation
------------

You can install or upgrade ``flake8-debugger`` with these commands::

$ pip install flake8-debugger
$ pip install --upgrade flake8-debugger


Plugin for Flake8
-----------------

When both ``flake8 2.2`` and ``flake8-debugger`` are installed, the plugin is
available in ``flake8``::

$ flake8 --version
2.0 (pep8: 1.4.5, flake8-debugger: 1.0, pyflakes: 0.6.1)


Changes
-------

3.1.0 - 2018-02-11
``````````````````
* Add a framework classifier for use in pypi.org
* Fix entry_point in setup.py leaving it off by default again
* Detect __import__ debugger statements
* Add support for `pudb` detection

3.0.0 - 2017-05-11
````````````````
* fix the refactor of the detector in 2.0.0 that was removed from pypi.
* fix a flake8 issue that had it turned off by default.


2.0.0 - 2016-09-19
````````````````
* refactor detector
* drop official support for python 2.6 and 3.3


1.4.0 - 2015-05-18
````````````````
* refactor detector, run tests in python 2.6, 2.7 and 3.4 as well as adding a check for InteractiveShellEmbed.

1.3.2 - 2014-11-04
````````````````
* more tests, fix edge case and debugger identification.

1.3.1 - 2014-11-04
````````````````
* more tests, a little refactoring and improvements in catching.

1.3 - 2014-11-04
````````````````
* using ast instead of regular expressions

1.2 - 2014-06-30
````````````````
* Added a few simple tests

1.1 - 2014-06-30
````````````````
* First release

1.0 - 2014-06-30
````````````````
* Whoops

Release history Release notifications

This version
History Node

3.1.0

History Node

3.0.0

History Node

1.4.0

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.2

History Node

1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
flake8-debugger-3.1.0.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Feb 11, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page