1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

CONTRIBUTING: add --no-backup to uncrustify

This commit is contained in:
Silke Hofstra 2020-10-03 15:41:17 +02:00
parent ef92773f99
commit 7e57cf2c8f

View File

@ -105,9 +105,12 @@ It is possible to check if your code follows these conventions:
* You can [uncrustify] `.c` and `.h` files:
```console
$ uncrustify -c $RIOTBASE/uncrustify-riot.cfg <your file>
$ uncrustify -c $RIOTBASE/uncrustify-riot.cfg --no-backup <your file>
```
**Note**: The `--no-backup` flag makes uncrustify *replace* the current file
with a formatted version.
* RIOT provides static test tools to verify the quality of changes (cppcheck,
trailing whitespaces, documentation, etc). These tools are wrapped in a
single `make` target: `static-test`.