Below are some checks to run before sending in Pull Requests (PR) and that we run when making new releases.
pip install pre-commit
pre-commit install
Now hooks enforce, when you git commit
, that:
* the python code is formatted with Black
* the C/C++ code is formatted with clang-format
pytest
from the root source dir.
bash build.sh test_main