sobolevn
sobolevn
Right now there's only a single mention that this plugin is MIT licensed here: https://github.com/lucleray/hyper-opacity/blob/01320a30a6aeacff9cc05b7999ec952835cf6beb/package.json#L8 However, this is not enough :( Please, provide a LICENSE file.
Hi, this project looks awesome! I would really love to use this project with TypeScript. I see two main features: 1. Typing existing functions (easy part) 2. Make queries type...
Let's see what the CI will say about it :)
# Bug report This code is problematic: https://github.com/python/cpython/blob/dc03ce797ae8786a9711e6ee5dcaadde02c55864/Objects/genericaliasobject.c#L565-L569 Why? `Py_GenericAlias` can return `NULL` in different cases: https://github.com/python/cpython/blob/dc03ce797ae8786a9711e6ee5dcaadde02c55864/Objects/genericaliasobject.c#L995-L999 So, we need to check for `NULL`. ### Linked PRs * gh-121661 *...
This way you can actually override some things from module's namespace with `inject()` function. It is very useful for tests.
Using `Union[Type[T], str]` is problematic, because when `str` is passed, mypy infers `T` to be `Never`. Instead, you should use an `overload` with two cases, so inference would be correct:...
I've improved the `self` annotations for the `Container` type. So, here's how it works: 1. There's a dedicated `Self` type in `typing` and `typing_extensions` that we cannot use here, because...
`globals()` and `locals()` are both returning `dict[str, Any]`: - https://github.com/python/typeshed/blob/712e4146ef255f14ecf396aac4996cdbef708312/stdlib/builtins.pyi#L1413 - https://github.com/python/typeshed/blob/712e4146ef255f14ecf396aac4996cdbef708312/stdlib/builtins.pyi#L1443 `inject` only add two protected attributes to a function / type. So, we can say that it returns...