How to run format checker
We highly recommand to use pre-commit tool to run format checker automatically before commit
Install pre-commit
Install
uvto usepre-commithook to automatically format code before commituv: https://docs.astral.sh/uv/
Install
pre-commithook byuv run pre-commit install
Run pre-commit hook manually
You can use
uv run pre-commit runcommand to manually run pre-commit hook to staged filesYou can use
uv run pre-commit run -acommand to run pre-commit hook on all filesYou can use pre-commit hook to apply C/C++ and python to entire project