JBKahn / flake8-debugger

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

ugly port that doesn't quite work yet #4

Closed JBKahn closed 8 years ago

JBKahn commented 8 years ago

Using the logical_line and checker_state, I should be able to unravel a lot of the previous complexity. So far the ugly code for detecting the import is pretty good but the return value in not exactly what I want it to be (seems to be working) and the way I'm using it is interfering with how the second one is functioning. I need to decide on a structure for the return value and checker state.