Castedo Ellerman
Castedo Ellerman
I've just created [stub files](https://mypy.readthedocs.io/en/stable/stubs.html) for panflute. I've just started trying out panflute for [a project](https://gitlab.com/perm.pub/baseprinter). I ran [stubgen](https://mypy.readthedocs.io/en/stable/stubgen.html) on all of panflute and am now testing whether it's really...
OK, I have an initial partial pass at stubs (mainly thanks to stubgen) at https://gitlab.com/perm.pub/baseprinter/-/tree/panflute/panflute-stubs This is an experimental branch that will eventually go away, but you can see it...
I have moved files to a clean separate repository at https://gitlab.com/perm.pub/panflute-stubs/ or for those who prefer GitHub a mirror at https://github.com/castedo/panflute-stubs The README.md describes how to use it. It can...
For any other folks (like myself) who are affected by this, here are some more implications and details I have hit. Using npm 9 to install certain npm packages (e.g....
Here's the full details on the use of `@overload` and `NoReturn` to handle there mising `slice` methods: https://github.com/castedo/panflute-stubs/blob/93eadf34de291398ec125264fe1ee52ec8a592e1/panflute-stubs/elements.pyi#L242-L264 ``` @overload def __delitem__(self, i: int) -> None: ... @overload def __delitem__(self,...
@sergiocorreia and/or @Leilei332 How do you want to proceed with type hints in the main branch of panflute? I am getting close to finishing https://github.com/castedo/panflute-stubs. I plan on adding type...