Swift: update formatting to clang-format 17.0.6

Also, added a format check in `swift.yml`.
This commit is contained in:
Paolo Tranquilli
2024-01-25 13:57:10 +01:00
parent 01b89508a8
commit 33b6ce7365
9 changed files with 28 additions and 27 deletions

View File

@@ -10,10 +10,9 @@ repos:
exclude: /test/.*$(?<!\.ql)(?<!\.qll)(?<!\.qlref)|.*\.patch
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.1
rev: v17.0.6
hooks:
- id: clang-format
files: ^swift/.*\.(h|c|cpp)$
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0