I have a compiled a Python extension.
The resulting binary mylib.so
file can be imported in the Python script and works fine.
Now I am wondering how to write the interface stub file mylib.pyi
such, that pylint and the Python language server used in VS Code can use it?
For now the native library is just in the root of my scripts.
When putting the mylib.pyi
next to it pylint ignores it.