David Barnett

Results 409 comments of David Barnett

I ran into the same for decorators specifically. If I add `@pytypes.typechecked` to a class to add *runtime* type checking, that sadly hobbles the *static* type inference and aliases the...

Ah thanks @rchen152! I had tried several workarounds like defining my own decorator wrappers with explicit type annotations and using the more literal `MyType = typechecked(MyType)` syntax instead, but definitely...

Has any work started on PEP 561 support here?

I had a similar problem importing the `typing` module: ```python try: from backports import typing except ImportError: import typing def foo() -> typing.Union[X, Y]: ... ``` There's no error from...

I was getting ready to draft up a JSON schema to send to schemastore and noticed there's a schema.json and local-schema.json in this repo. Is that for the same JSON...

Yep, this is with json-languageserver installed. I couldn't get it to show any smart suggestions or anything on settings.json, and it does for other JSON configs. How is the detection...

In the other bug, I'd originally suggested blacklisting the dispatch runner, but even that's not an ideal solution since there are cases where the dispatch strategy works fine (e.g. if...

Okay, how about this: If I could ensure `g:dispatch_no_job_make` is set before handing off to dispatch to run vroom, then test.vim doesn't need to be involved in any further case-by-case...

As a hard requirement, I doubt it. Vroom just inherits that limitation from needing to run vim in-process. I could imagine users wanting to special case though, using more of...

Actually, let's focus on the user override case: Would it be okay to add an option for a `b:test_strategy` override so users could force a certain strategy for a certain...