DetachHead
DetachHead
originally i renamed `python` to `basedpyright` to avoid issues if the user happens to have both pylance and basedpyright installed in vscode. however that was before we started re-implementing pylance...
i haven't documented it anywhere yet, but this is now supported
i guess since it doesn't know what overload you want, it just picks one for the completions. i agree this isn't ideal and it should just merge the completions from...
Perhaps it could gather all the warnings and raise them all as an exception at the end, similar to an `ExceptionGroup`
yeah it is
as a workaround, you can define your own version of `ABC` instead: ```py from abc import abstractmethod import unittest class ABC(metaclass=ABCMeta): pass class Abstract(unittest.TestCase, ABC): @abstractmethod def test_something(self): pass @abstractmethod...
Related: #1404
in #1667 i added a new [`--baselinemode`](https://docs.basedpyright.com/dev/configuration/command-line/#option-2-baselinemode-experimental) argument which you can use to disable updates to the baseline file. though i don't think this covers your use case, in the...
this seems to work: ```py class DeferPlugin: @pytest.hookimpl(wrapper=True) def pytest_xdist_auto_num_workers(self, config: pytest.Config) -> typing.Generator[None, int, int]: return min((yield), len(config.option.file_or_dir)) def pytest_plugin_registered(plugin: object, manager: pytest.PytestPluginManager): if manager.hasplugin("xdist") and not isinstance(plugin, DeferPlugin):...
what error do you expect? this is just unpacking a tuple type into another tuple type right? it's redundant but i don't see how it should be an error