-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
It was once reported in #53 , but the issue looks still there...?
- Test resource https://github.com/cielavenir/pybind11_playground/tree/bbddb9318fb2ed8168284c75beacaae9a24ff2c2
- How to test
python3 -m build .
python3 -m pip install dist/pybind11_playground-0.0.0.1-cp39-cp39-linux_x86_64.whl
python3 -m pybind11_stubgen pybind11_playground
mypy stubs/pybind11_playground-stubs/pybind11_playground/__init__.pyi
stubs/pybind11_playground-stubs/pybind11_playground/__init__.pyi:12: error: "int" expects no type arguments, but 1 given
stubs/pybind11_playground-stubs/pybind11_playground/__init__.pyi:12: error: Invalid type: try using Literal[2] instead?
pyright stubs/pybind11_playground-stubs/pybind11_playground/__init__.pyi
stubs/pybind11_playground-stubs/pybind11_playground/__init__.pyi:12:49 - error: Expected no type arguments for class "int" (reportGeneralTypeIssues)
Expect that the output pyi can be parsed without errors.
Metadata
Metadata
Assignees
Labels
No labels