DetachHead

Results 929 comments of DetachHead

if we do this, we should probably re-assess the "every rule is on by default" approach. instead we should probably just default to strict and make everything else warning by...

`--warnings` already exists, but im going to add a new config file option called `failOnWarnings` to make it so that the new `"recommended"` `typeCheckingMode` still fails in the cli when...

> I don't really have a good enough understanding of what is going on under the hood to be able to understand where the problem actually lies. unfortunately since i'm...

can you set `basedpyright.analysis.logLevel` to `"Trace"` and see if it logs anything noteworthy?

maybe basedpyright isn't even running? are you seeing any type errors? can you verify whether any of the [basedpyright-exclusive features](https://docs.basedpyright.com/latest/benefits-over-pyright/pylance-features/) are working?

hmm it sounds like there may be something wrong with the mason's bundled version of basedpyright then. you may want to raise an issue at https://github.com/williamboman/mason.nvim

> The package is resolved correctly if I remove the comment from the first line, and the server even suggests to import other names from the same package. so if...

> Hi! Sorry for the late response. Somehow, I missed the issue you mentioned. > > To answer your question - no, if I uncomment the import and comment it...

closing as this is likely an issue with the mason bundled version of basedpyright, as mentioned in https://github.com/DetachHead/basedpyright/issues/684#issuecomment-2395294915 if it turns out i'm wrong, let me know and we can...

i ran into a difficult to solve edge case that led to me abandoning this change for now (see the failing test case) but i may give it another go...