Skip to content

Commit

Permalink
CONTRIBUTING: add --no-backup to uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Oct 20, 2020
1 parent ef92773 commit 7e57cf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 7e57cf2

Please sign in to comment.