Tools: Apply pre-commit autoformatting

This commit is contained in:
Chris Hennes
2023-04-22 12:53:49 -05:00
parent 74561536af
commit 4a7e1b6d9b
105 changed files with 6814 additions and 5407 deletions

View File

@@ -5,8 +5,14 @@
files: |
(?x)^(
src/Mod/AddonManager|
src/Tools|
tests/src
)
exclude: |
(?x)^(
.*vcproj.*|
.*vcxproj.*
)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
@@ -16,11 +22,11 @@ repos:
- id: check-yaml
- id: check-added-large-files
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
args: ['--line-length', '100']
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.7
hooks: