diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-05-04 02:08:42 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-05-05 01:36:16 +0100 |
commit | f8ab7218f0eb752b4f936b4686be313921be1da6 (patch) | |
tree | 19d687d3eba97c7692671438a0cc3f5bfe50cc9a | |
parent | 9edb2e5088711b3cd3aeb60ed33d4ed214ecfa71 (diff) |
Exclude imported libsodium sources from restyled.
Also limit clang-format to .cc files. Don't apply it to .c files.
-rw-r--r-- | .restyled.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.restyled.yaml b/.restyled.yaml index f0060d75..512433d7 100644 --- a/.restyled.yaml +++ b/.restyled.yaml | |||
@@ -1,9 +1,17 @@ | |||
1 | --- | 1 | --- |
2 | exclude: | ||
3 | - "**/*.api.h" | ||
4 | - "toxencryptsave/crypto_pwhash_scryptsalsa208sha256/**/*" | ||
5 | |||
2 | restylers: | 6 | restylers: |
3 | - astyle: | 7 | - astyle: |
4 | arguments: ["--options=other/astyle/astylerc"] | 8 | arguments: ["--options=other/astyle/astylerc"] |
5 | - autopep8 | 9 | - autopep8 |
6 | - black | 10 | - black |
11 | - clang-format: | ||
12 | arguments: ["-style={BasedOnStyle: Google, ColumnLimit: 100}"] | ||
13 | include: | ||
14 | - "**/*.cc" | ||
7 | - prettier-yaml | 15 | - prettier-yaml |
8 | - reorder-python-imports | 16 | - reorder-python-imports |
9 | - shellharden | 17 | - shellharden |