Skip to main content

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.2.1 - 2019-10-31
  • Swapped back from poetry to setup.py :(....python ecosystem issues....
3.2.0 - 2019-10-15
  • Forgot to add breakpoint support to the last changelog entry as well as fixing a bug introduced into that version that flagged import builtins as noteworthy.
3.1.1 - 2019-10-12
  • Fix reading from stdin when it is closed (requires flake8 > 2.1).
  • Swapped to poetry from setup.py
  • Ran black on the repository
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

Project details


Download files

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

Source Distribution

flake8-debugger-3.2.0rc1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_debugger-3.2.0rc1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file flake8-debugger-3.2.0rc1.tar.gz.

File metadata

  • Download URL: flake8-debugger-3.2.0rc1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/20.1.0

File hashes

Hashes for flake8-debugger-3.2.0rc1.tar.gz
Algorithm Hash digest
SHA256 74a9b377cb4a676b3a4adfe52f3fffd26b80cccb068e9d8b6de40514f4cbebe9
MD5 c9842cd3211e7fd3e96ecf41590f18cb
BLAKE2b-256 d3655e3dce7c9539e31a1e59706bc31d134d0341e68fe0f6b9449ed693d3973a

See more details on using hashes here.

File details

Details for the file flake8_debugger-3.2.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_debugger-3.2.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 de10533acbc03044ee1f40f6bd8ec0063e87b4de4c1199e35437e689fae23b79
MD5 1b2d931aa56e8e31a7414f0994b61354
BLAKE2b-256 b578c8eb858c8b51771f900516e602ff84ce7df1ea3a8aa47726670d627c9052

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page