mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-01 04:24:36 +08:00
Added stubs for python files generated from C++ (#136)
* added pybind11-stubgen * docs for generating stubs * added line to readme
This commit is contained in:
@@ -88,6 +88,13 @@ To make sure the install is working run the tests with:
|
||||
pip install ".[testing]"
|
||||
python -m unittest discover python/tests
|
||||
|
||||
Optional: Install stubs to enable auto completions and type checking from your IDE:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
pip install ".[dev]"
|
||||
python setup.py generate_stubs
|
||||
|
||||
C++ API
|
||||
^^^^^^^
|
||||
|
||||
|
Reference in New Issue
Block a user