Kevin Rose

Results 39 comments of Kevin Rose

I think this is now working as expected? I use notebooks rarely, and pretty much never use them within VS Code, but I just checked and it seems like the...

Interesting idea, thanks for posting. So you're thinking something like this? ```python # | indicates cursor location # case 1, no f-string s = "really long| string" s = ("really...

Reading back through the [parsing code](https://github.com/DSpeckhals/python-indent-parser/blob/master/src/index.ts#L124) I wrote, I'd have to add another tracker for any combination of f, r, u, rf, fr, b, rb, and br and keep it...

I looked into this a little more, and concluded that this would require a moderate change to the parser to keep track of what column the string started on.

I think the crux of it would be adding several new pieces of information to the [current parser](https://github.com/DSpeckhals/python-indent-parser/blob/master/src/index.ts#L14-L20). This is what it currently outputs: ```typescript export interface IParseOutput { canHang:...

The edits are bundled into a single "transaction" so that VSCode groups them into a single undo/redo action

It looks like you've set your indentation size in VSCode to 2 spaces, is that correct? The problem is that `flake8` only works with an indentation size of 4 spaces....

The tensorflow style guide tells you to "follow the PEP 8 Python style guide, except TensorFlow uses 2 spaces instead of 4". PEP8 says that continuation lines should use "[an...

Flake8 isn't calling for you to have two levels of indentation, it just expects you to be using four spaces instead of two. That's why I linked you to those...

Someone should update the TF style guide to be accurate, they're not following PEP8. And, in my opinion, their double-indent-for-continuations might just be the _dumbest_ python style convention I've ever...