Skip to content

Commit

Permalink
Exclude imported libsodium sources from restyled.
Browse files Browse the repository at this point in the history
Also limit clang-format to .cc files. Don't apply it to .c files.
  • Loading branch information
iphydf committed May 5, 2020
1 parent 9edb2e5 commit f8ab721
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .restyled.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f8ab721

Please sign in to comment.