We highly recommand to use pre-commit tool to run format checker automatically before commit
- Install
uvto usepre-commithook to automatically format code before commit - Install
pre-commithook byuv run pre-commit install
- You can use
uv run pre-commit runcommand to manually run pre-commit hook to staged files - You can use
uv run pre-commit run -acommand to run pre-commit hook on all files- You can use pre-commit hook to apply C/C++ and python to entire project