Neil Girdhar

Results 329 comments of Neil Girdhar

Related https://github.com/jupyterlab/jupyterlab/issues/10851

You've created a list of characters. If you print `alist`, you get: `['2', ',', '0', ',', '9', ',', '8', ',', '9']`

A temporary workaround for this is to add a line such as: ```python if TYPE_CHECKING: from pandas import DataFrame DataFrame # Prevent autoflake from removing imports. pylint: disable=pointless-statement ``` But...

Ah, thanks. Didn't realize that `noqa` prevented autoflake.

This pull request doesn't work anymore. I submitted https://github.com/darvid/zsh-poetry/pull/8 for Poetry >= 1.0

Just a friendly suggestion, but it's probably clearer to use a different variable name when the type is different. Consider renaming the return value to `return_module`.

This comes up a lot when you're splitting strings: ```python return dict(kv.split('=') for kv in ['a=b', 'cdf=ghi']) ``` It might be nice to have a special split method on string...

@thomasgilgenast That's a good summary of what we can do right now, but we don't want to work around this problem. We want mypy to keep track of sequence lengths....