From f8ab7218f0eb752b4f936b4686be313921be1da6 Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 4 May 2020 02:08:42 +0100 Subject: Exclude imported libsodium sources from restyled. Also limit clang-format to .cc files. Don't apply it to .c files. --- .restyled.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.restyled.yaml b/.restyled.yaml index f0060d75..512433d7 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -1,9 +1,17 @@ --- +exclude: + - "**/*.api.h" + - "toxencryptsave/crypto_pwhash_scryptsalsa208sha256/**/*" + restylers: - astyle: arguments: ["--options=other/astyle/astylerc"] - autopep8 - black + - clang-format: + arguments: ["-style={BasedOnStyle: Google, ColumnLimit: 100}"] + include: + - "**/*.cc" - prettier-yaml - reorder-python-imports - shellharden -- cgit v1.2.3