Skip to main content

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

4.1.2 - 2022-04-30
  • Add tests to bundle.
4.1.1 - 2022-04-30
  • Add tests to bundle.
4.1.0 - 2022-04-30
  • Drop support for python 3.6 and remove special handling code.
  • bundle licence file.
4.0.0 - 2020-11-29
  • Opted back into using Poetry now that the existing issues have been fixed.
  • Python 2.7 support was no officially dropped.
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

Metadata

Release files for flake8-debugger 4.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-debugger 4.1.2
File Size Uploaded
flake8-debugger-4.1.2.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-debugger 4.1.2
File Interpreter ABI Platform
flake8_debugger-4.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / flake8-debugger-4.1.2.tar.gz

Download URL flake8-debugger-4.1.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
52b002560941e36d9bf806fca2523dc7fb8560a295d5f1a6e15ac2ded7a73840
BLAKE2b-256 checksum
How to use checksums
1f1ef9bdb98f3df5dceaa2287a8fb5801a22681dbd677a8759704083357e27c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.12 Darwin/21.4.0

Release files / flake8_debugger-4.1.2-py3-none-any.whl

Download URL flake8_debugger-4.1.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a5e55aeddcc81da631ad9c8c366e7318998f83ff00985a49e6b3ecf61e571bf
BLAKE2b-256 checksum
How to use checksums
5d6b8e5d248949798644b3d8e5f598ed5d1da82d8f157d4bafd78f45247f1690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.9.12 Darwin/21.4.0

Release history Release notifications | RSS feed

This release

4.1.2 This release

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.1

1 release file

3.2.0

2 release files

3.1.1

2 release files

3.1.0

1 release file

3.0.0

1 release file

1.4.0

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3

1 release file

1.2

1 release file

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page