kenkoooo / jupyter-autopep8

PEP8 formatter for Jupyter Notebook
MIT License
66 stars 6 forks source link

make the regexp in code_exec_callback simpler #2

Closed micknk closed 7 years ago

micknk commented 7 years ago

I think this will solve the issue #1 I'm sure that the regexp itself is correct, but I'm afraid that the logic of the function might be changed. Please check the logic.

kenkoooo commented 7 years ago

I have tested in my local environment and it works well. (Actually, we should write tests) LGTM! Thanks!