Akuli

Results 358 comments of Akuli
trafficstars

I'm not surprised if nobody cares, but I don't think this is a good idea. Folders without `__init__.py` being importable is already bad, and I want the type checker to...

It just feels wrong to have one global setting that affects every library you import, regardless of whether it's a dependency of a dependency, or a part of your project...

I have some use cases for this. I have a `PanedWindow` class that automatically sets the background color of a `tkinter.PanedWindow` in a specific way. So I do this: ```python...

I found a perfectly working workaround for my needs: ```python _T = TypeVar("_T") def copy_type(f: _T) -> Callable[[Any], _T]: return lambda x: x class PanedWindow(tkinter.PanedWindow): @copy_type(tkinter.PanedWindow.__init__) def __init__(self, *args: Any,...

I added tree-sitter stubs to typeshed. Run `pip install types-tree-sitter` to use them. It would still be preferable to have them here, but it's a relatively small package, so typeshed...

I will likely try to build binary wheels of tree_sitter for windows, mac and linux. They could then be installed without needing to have a C compiler. Then, together with...

I have now created https://github.com/Akuli/py-tree-sitter-builds. Right now it's a pain to use as it isn't published on pypi. I'll probably put it to pypi if I still don't hear back...

Feel free to borrow my github actions config when you get around to this, or just ask me to make a pull request :)

Regarding `import` names: I think using the same `import` name is better. This way I don't need to also publish my own versions of various other packages (py-tree-sitter-languages, types-tree-sitter, types-tree-sitter-languages)...

I will next make a pull request that adds the config I have so far. It builds, but does not publish to pypi yet, although py-tree-sitter-languages does publish wheels to...