{"id":23731,"library":"flake8-breakpoint","title":"flake8-breakpoint","description":"A Flake8 plugin that detects forgotten breakpoint() calls (and pdb.set_trace()) in Python code. Version 1.1.0, last updated 2020-04-09, maintenance mode.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/afonasev/flake8-breakpoint","tags":["flake8","linting","breakpoint","pdb","plugin"],"install":[{"cmd":"pip install flake8-breakpoint","lang":"bash","label":"pip"}],"dependencies":[{"reason":"Plugin is loaded by flake8 automatically","package":"flake8","optional":false}],"imports":[{"note":"Hyphen in package name; Python module uses underscore","wrong":"import flake8-breakpoint","symbol":"flake8_breakpoint","correct":"from flake8_breakpoint import BreakpointChecker"}],"quickstart":{"code":"pip install flake8 flake8-breakpoint\necho 'import pdb; pdb.set_trace()' > test.py\nflake8 test.py","lang":"bash","description":"Install flake8 and the plugin, then run flake8 on a file containing a breakpoint to see the T100 warning."},"warnings":[{"fix":"Install flake8 alongside: pip install flake8 flake8-breakpoint","message":"Flake8 must be installed separately; the plugin alone doesn't run linting.","severity":"gotcha","affected_versions":"all"},{"fix":"For custom debuggers, write a custom flake8 plugin or use a tool like 'debug-detector'.","message":"The plugin only checks for breakpoint() and pdb.set_trace(), not other debuggers like ipdb or pdb.is_resource().","severity":"gotcha","affected_versions":"1.1.0"},{"fix":"Pin flake8 to a compatible version (<5.0) if on Python 3.6-3.8.","message":"Python 3.6 reached end-of-life; requires Python >=3.6 but may not work with Python 3.10+ due to flake8 updates.","severity":"deprecated","affected_versions":"1.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use --extend-ignore=T100 in flake8 config to ignore if intentional.","cause":"The default warning code for forgotten breakpoints; users might expect a different code or no output.","error":"T100 breakpoint found"},{"fix":"Install the package and use: from flake8_breakpoint import BreakpointChecker (if using programmatically).","cause":"Import attempted with wrong module name due to hyphen vs underscore.","error":"ModuleNotFoundError: No module named 'flake8_breakpoint'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}