Micha Reiser

Results 1092 comments of Micha Reiser

I think this would be fixed by https://github.com/astral-sh/ruff/pull/21758 (CC: @Gankra)

> If you find-references on the first x it shows both itself and the second (bad, not helpful, should only be the second). This is also what pylance and rust...

Same if you do find references on a function, r-a returns the function as well as all uses.

I think the issue here is simply the ordering of the paths. Could you try changing `PYTHONPATH` so that the stubs path comes before `S:\path_to_pyd\packages\ape\1.0\python-3.10` (which should make ty try...

Have you tried what I described here https://github.com/astral-sh/ty/issues/2010#issuecomment-3665555239? This is what both Zed and VS Code use to change the python environment at runtime

Yes, Zed and VS Code restart ty on any configuration change because ty doesn't yet support `didChangeConfiguration`. I don't think it would be very hard to add support for `didChangeConfiguration`;...

The first point is covered by https://github.com/astral-sh/ruff/pull/22053 > but in an easy-to-use fashion (something that could benefit the hack in the VS Code extension) I don't think so. We still...

Related https://github.com/astral-sh/ty/issues/1104

Would you be able to share the logs when running `ty check FOO -v` and `ty check FOO -v --watch`?

Do you see the difference on the first run of `ty check --watch` or are the diagnostics only different after you made changes (and check ran multiple times?)