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.
You can install or upgrade flake8-debugger
with these commands::
$ pip install flake8-debugger
$ pip install --upgrade flake8-debugger
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)
- Opted back into using Poetry now that the existing issues have been fixed.
- Python 2.7 support was no officially dropped.
- Swapped back from poetry to setup.py :(....python ecosystem issues....
- Forgot to add
breakpoint
support to the last changelog entry as well as fixing a bug introduced into that version that flaggedimport builtins
as noteworthy.
- Fix reading from stdin when it is closed (requires flake8 > 2.1).
- Swapped to poetry from setup.py
- Ran black on the repository
- 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
- 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.
- refactor detector
- drop official support for python 2.6 and 3.3
- refactor detector, run tests in python 2.6, 2.7 and 3.4 as well as adding a check for InteractiveShellEmbed.
- more tests, fix edge case and debugger identification.
- more tests, a little refactoring and improvements in catching.
- using ast instead of regular expressions
- Added a few simple tests
- First release
- Whoops