python3 -m venv venv # At least python 3.10
source venv/bin/activatepip install -r requirements-dev.txtpre-commit installpip install -v -e .cd src/litgen/integration_tests
pip install -v -e .
cd -Then you can also add them as a C++ CMake project.
mkdir build && cb build
cmake ..
make
(Each time you compile the project, the bindings for the integration tests will be regenerated and recompiled)
./ci_scripts/devel/run_all_checks.sh(This will run mypy, black, ruff and pytest)
You can use snakeviz to visualize the profiling results. http://jiffyclub.github.io/snakeviz/
pip install snakeviz
python -m cProfile -o profile.prof your_test.py
snakeviz profile.profDon't use {} in function default params !!! It is wrongly parsed by srcML.