JBKahn / flake8-debugger

flake8 debug statement checker
MIT License
41 stars 10 forks source link

Support built-in breakpoint() in Python 3.7 #12

Closed browniebroke closed 4 years ago

browniebroke commented 6 years ago

Python 3.7 brings a built-in breakpoint() via PEP 553. It sounds like it would be a good addition to this flake8 plugin.

JBKahn commented 6 years ago

Will get to it in a bit since there is no hurry.

decaz commented 5 years ago

Any updates here? @JBKahn

mmerickel commented 5 years ago

This hit us as a developer checked in a breakpoint() and flake8-debugger didn't catch it. Looks like #16 has been open for a while, is any help needed there to get it out the door?

JBKahn commented 5 years ago

I'll take a look this week. Sorry about that

JBKahn commented 5 years ago

For safety in production, you can disable breakpoints using PYTHONBREAKPOINT=0