# Code style Its code follows the style of the repository [code-style](https://github.com/dmeoli/code-style), i.e., its `.clang-format` with what its `format.py` adds to it (e.g., `return( x );` and a space before each comma), which clang-format has no option for. On a pull request, the continuous integration checks the lines that the request changes, and posts the changes that put them in the style as suggestions on them; with that repository cloned in `~/code-style`, ```sh ~/code-style/code-format --since origin/master FILE... ``` does the same before a commit. This needs clang-format 22 (e.g., `pip install clang-format==22.1.5`); `~/code-style/ide-format` does it on the file that an IDE shows, and `~/code-style/hooks/install-hooks .` installs a hook of git that stops a commit out of the style.