KotlinIsland

Results 497 comments of KotlinIsland

While I'm here should I implement black?

It's basically a fork of mypy with additional functionality. basedmypy: ```py def foo(a=1) print(a) ``` mypy: ```py def foo(a: int = 1) -> None: print(a) ```

`poetry add` will update the `pyproject.toml` file. This is probably what you want here.

I have found that there are issues when one module will import a keyword from another module, this causes the same keyword to be discovered twice under different names and...

This can be super sus if the import (`from playwright.sync_api import TimeoutError`) gets removed, your code will silently change behavior with no warning.

Probably want something like this: ```python class TimeoutError(Error, __builtins__.TimeoutError): pass ```

Also this: ```py type[int](1) # error: Value of type "Type[type]" is not indexable ```

@SakshiSingh25 Start here: https://github.com/python/mypy/blob/master/CONTRIBUTING.md This issue is likely due to `strict_optional` in some way, so search for that.

@jhance That's a functional workaround, but still involves a lot of reinventing the wheel to collect and filter the results. I imagine this use-case would be desired by almost all...

@JukkaL That sounds awesome! What is your opinion on upgrading the current analysis to incorporate the diverging paths of version/platform checks? As mentioned in the OP there would be additional...