Exclude imported libsodium sources from restyled.

Also limit clang-format to .cc files. Don't apply it to .c files.
This commit is contained in:
iphydf 2020-05-04 02:08:42 +01:00
parent 9edb2e5088
commit f8ab7218f0
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -1,9 +1,17 @@
--- ---
exclude:
- "**/*.api.h"
- "toxencryptsave/crypto_pwhash_scryptsalsa208sha256/**/*"
restylers: restylers:
- astyle: - astyle:
arguments: ["--options=other/astyle/astylerc"] arguments: ["--options=other/astyle/astylerc"]
- autopep8 - autopep8
- black - black
- clang-format:
arguments: ["-style={BasedOnStyle: Google, ColumnLimit: 100}"]
include:
- "**/*.cc"
- prettier-yaml - prettier-yaml
- reorder-python-imports - reorder-python-imports
- shellharden - shellharden