Skip to content

Commit d81b7c9

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 8319f34 commit d81b7c9

File tree

4 files changed

+908
-927
lines changed

4 files changed

+908
-927
lines changed

Diff for: .clang-format

+6-6
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ BreakConstructorInitializersBeforeComma: false
6060
BreakInheritanceList: BeforeColon
6161
BreakStringLiterals: false
6262
ColumnLimit: 0
63-
CommentPragmas: ''
63+
CommentPragmas: ""
6464
CompactNamespaces: false
6565
ConstructorInitializerAllOnOneLineOrOnePerLine: false
6666
ConstructorInitializerIndentWidth: 2
@@ -89,12 +89,12 @@ IncludeCategories:
8989
Priority: 3
9090
SortPriority: 0
9191
CaseSensitive: false
92-
- Regex: '.*'
92+
- Regex: ".*"
9393
Priority: 1
9494
SortPriority: 0
9595
CaseSensitive: false
96-
IncludeIsMainRegex: ''
97-
IncludeIsMainSourceRegex: ''
96+
IncludeIsMainRegex: ""
97+
IncludeIsMainSourceRegex: ""
9898
IndentAccessModifiers: false
9999
IndentCaseBlocks: true
100100
IndentCaseLabels: true
@@ -110,8 +110,8 @@ JavaScriptWrapImports: true
110110
KeepEmptyLinesAtTheStartOfBlocks: true
111111
LambdaBodyIndentation: Signature
112112
Language: Cpp
113-
MacroBlockBegin: ''
114-
MacroBlockEnd: ''
113+
MacroBlockBegin: ""
114+
MacroBlockEnd: ""
115115
MaxEmptyLinesToKeep: 100000
116116
NamespaceIndentation: None
117117
ObjCBinPackProtocolList: Auto

Diff for: .pre-commit-config.yaml

+55-55
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: 'v4.5.0'
4-
hooks:
5-
- id: check-case-conflict
6-
- id: check-symlinks
7-
- id: debug-statements
8-
- id: destroyed-symlinks
9-
- id: detect-private-key
10-
- id: end-of-file-fixer
11-
- id: mixed-line-ending
12-
args:
13-
- --fix=lf
14-
- id: trailing-whitespace
15-
args:
16-
- --markdown-linebreak-ext=md
17-
- repo: https://github.com/codespell-project/codespell
18-
rev: 'v2.2.4'
19-
hooks:
20-
- id: codespell
21-
- repo: https://github.com/pre-commit/mirrors-clang-format
22-
rev: 'v15.0.7'
23-
hooks:
24-
- id: clang-format
25-
types_or:
26-
- c
27-
- c++
28-
- repo: https://github.com/psf/black-pre-commit-mirror
29-
rev: '22.10.0'
30-
hooks:
31-
- id: black
32-
language_version: python3.8
33-
args:
34-
- --line-length=120 #From the arduino code style. Add as argument rather than creating a new config file.
35-
- repo: https://github.com/PyCQA/flake8
36-
rev: '7.0.0'
37-
hooks:
38-
- id: flake8
39-
types_or:
40-
- python
41-
additional_dependencies:
42-
- flake8-bugbear
43-
- flake8-comprehensions
44-
- flake8-simplify
45-
- repo: https://github.com/pre-commit/mirrors-prettier
46-
rev: 'v3.1.0'
47-
hooks:
48-
- id: prettier
49-
types_or:
50-
- yaml
51-
- repo: https://github.com/adrienverge/yamllint
52-
rev: 'v1.33.0'
53-
hooks:
54-
- id: yamllint
55-
types_or:
56-
- yaml
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: "v4.5.0"
4+
hooks:
5+
- id: check-case-conflict
6+
- id: check-symlinks
7+
- id: debug-statements
8+
- id: destroyed-symlinks
9+
- id: detect-private-key
10+
- id: end-of-file-fixer
11+
- id: mixed-line-ending
12+
args:
13+
- --fix=lf
14+
- id: trailing-whitespace
15+
args:
16+
- --markdown-linebreak-ext=md
17+
- repo: https://github.com/codespell-project/codespell
18+
rev: "v2.2.4"
19+
hooks:
20+
- id: codespell
21+
- repo: https://github.com/pre-commit/mirrors-clang-format
22+
rev: "v15.0.7"
23+
hooks:
24+
- id: clang-format
25+
types_or:
26+
- c
27+
- c++
28+
- repo: https://github.com/psf/black-pre-commit-mirror
29+
rev: "22.10.0"
30+
hooks:
31+
- id: black
32+
language_version: python3.8
33+
args:
34+
- --line-length=120 #From the arduino code style. Add as argument rather than creating a new config file.
35+
- repo: https://github.com/PyCQA/flake8
36+
rev: "7.0.0"
37+
hooks:
38+
- id: flake8
39+
types_or:
40+
- python
41+
additional_dependencies:
42+
- flake8-bugbear
43+
- flake8-comprehensions
44+
- flake8-simplify
45+
- repo: https://github.com/pre-commit/mirrors-prettier
46+
rev: "v3.1.0"
47+
hooks:
48+
- id: prettier
49+
types_or:
50+
- yaml
51+
- repo: https://github.com/adrienverge/yamllint
52+
rev: "v1.33.0"
53+
hooks:
54+
- id: yamllint
55+
types_or:
56+
- yaml

0 commit comments

Comments
 (0)