Tushar Sadhwani

Results 16 comments of Tushar Sadhwani

This should be relevant: https://github.com/PyCQA/astroid/issues/1735

@antfu I assume tabWidth is a bit like the `ts` query parameter in github. If the indentation is 2 tabs in your code, and you set `?ts=2` in any GitHub...

Documentation aside, it's still a false positive for this simple case: ```python def foo(numbers): for num in numbers: print(list(filter(lambda x: x != num, numbers))) ``` Do you think it's safe...

I think I get it now. ```python def get_functions(numbers): for num in numbers: function = lambda: print(num) yield function for func in get_functions(): func() ``` This one works: ```shell 1...

Why not use `f is f1`? That should suppress the issue as well.

Unfortunately, the current way the rule is implemented I don't see any way to do that. We're inferring the value of the list object while unpacking it. To be able...