Main repository is available at https://github.com/Mstrutov/Desbordante
Stubs are generated by https://github.com/sizmailov/pybind11-stubgen
This repository includes several helpful Makefile scripts for managing stubs and code formatting. Below are the available commands:
To install all necessary dependencies and set up pre-commit hooks, run:
make init
To generate the stubs for the desbordante
library:
make stubs
This will run pybind11-stubgen
to generate stubs, remove the old desbordante-stubs
folder if it exists, and move the newly generated stubs to desbordante-stubs
. The code will also be formatted after generation.
To check the code with linters and formatters:
make lint
This command runs ruff
to ensure the code is properly formatted and follows style guidelines.
To automatically format the code:
make format
This command will run ruff
and black
to reformat the code in the desbordante-stubs
folder.