DetachHead

Results 929 comments of DetachHead

it would also be nice to have it recognize rye scripts as vscode tasks, like the pdm and npm extensions do: ![image](https://github.com/astral-sh/rye/assets/57028336/fcda1af1-4f0f-48ee-8b20-f70bc12d89f4)

[basedpyright](https://github.com/detachhead/basedpyright) solves this problem because the vscode extension uses the version installed in your project instead of the one bundled with the extension

Basedpyright now allows you to have both pylance and basedpyright enabled at the same time. It disables conflicting features so you can use the pylance LSP while still using basedpyright...

since pylance seems to be too tightly coupled with its own version of pyright, a solution i tried was to add an `importStrategy` option to the pyright extension instead (https://github.com/microsoft/pyright/pull/6644)...

since this issue prevented me from switching from mypy to pyright, i made my own fork which fixes it as well as several other problems: https://github.com/DetachHead/basedpyright by default, the basedpyright...

yeah i forgot to mention that tradeoff. but 99% of pylance's functionality comes from pyright anyway. in my experience i'm not really missing out on much by using pyright on...

i know it's not ideal to have to ditch pylance, but as i said i considered this issue significant enough to prevent me from switching from mypy to pyright/pylance, and...

the mirrors-prettier plugin seems to work perfectly fine for me without having to change anything from [the example in the docs](https://prettier.io/docs/en/precommit.html#option-2-pre-commithttpsgithubcompre-commitpre-commit). i have no idea why asottile would archive the...

i'm not sure what the best way to do it is. providing a good message for assertion errors that account for possible data structure seems like an impossible task. though...