DetachHead

Results 929 comments of DetachHead

gonna wait and see what the response is to https://github.com/microsoft/pylance-release/issues/5824 before investing any more effort into things that should be handled by the syntax highlighter

this is an upstream issue with the syntax highlighter

i think it's only an issue when attempting to assign a `Never` value, or having code after the function that returns `Never` (aka unreachable code). i think this is covered...

yeah `type:ignore` is pretty unsafe, it doesn't even warn you if the rule doesn't exist, [which is an upstream issue](https://pyright-play.net/?strict=true&deprecateTypingAliases=true&enableExperimentalFeatures=true&reportCallInDefaultInitializer=true&reportImplicitStringConcatenation=true&reportImplicitOverride=true&reportMissingSuperCall=true&reportPropertyTypeMismatch=true&reportShadowedImports=true&reportUnnecessaryTypeIgnoreComment=true&reportUninitializedInstanceVariable=true&reportUnusedCallResult=true&code=MYGwhgzhAEBiD28Bc0AOkIFgBQD4AoBGASgGJoAXAT1QFMkBLAcwDt4AnWgbUgBMAzPvwC6QA). i can only imagine the reasoning for this was to...

the documentation has been updated to mention these issues (#331), i'll leave this issue open until we update `enableTypeIgnoreComments` to be disabled by default

what OS are you using? the point of having the node version bundled with the pypi package is that the user shouldn't have to worry about installing it themselves. i...

looks like that's the issue. basedpyright comes with node 18 but i think your centOS version is too old for that. https://stackoverflow.com/a/72038045 since both centOS and node 16 are EOL...

thanks for the suggestion, we can give it a go. [the one we currently use](https://pypi.org/project/nodejs-bin/) looks abandoned so i was already keeping an eye out for another solution anyway

something i noticed about pylance's implementation of this feature is that it doesn't work on all inlay hints for some reason. eg: ```py def f(a: int, /) -> str: ......