Skip to content

Commit 180ffd2

Browse files
committed
FIX: remove --version flag from clang-format
1 parent 3e199a9 commit 180ffd2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.clang-format

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,14 @@ Language: Cpp
1414
DerivePointerAlignment: true
1515
PointerAlignment: Right
1616
AlignEscapedNewlines: Right
17-
AllowShortBlocksOnASingleLine: Empty
1817
AlignConsecutiveDeclarations: true
1918
ReflowComments: true
2019
SpacesBeforeTrailingComments: 2
2120
IndentPPDirectives: BeforeHash
22-
AllowShortBlocksOnASingleLine: Never
2321
AllowAllArgumentsOnNextLine: false
2422
AllowAllParametersOfDeclarationOnNextLine: false
2523
BinPackParameters: false
2624
BinPackArguments: false
2725
ForEachMacros: ['WHILE', 'FOR', 'WHILE0', 'WHILE1', 'WHILE2', 'REDUCE_SPECIALIZE']
2826

2927
BreakBeforeBraces: Custom
30-
BraceWrapping:
31-
AfterControlStatement: Never

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Check formatting with clang-format
6969
if: (matrix.python-version == 3.9) && (startsWith(runner.os, 'Linux'))
7070
run: |
71-
clang-format --version -i --style=file bottleneck/**/*.c bottleneck/**/*.h
71+
clang-format -i --style=file bottleneck/**/*.c bottleneck/**/*.h
7272
git diff --exit-code
7373
- name: Test with pytest
7474
run: |

0 commit comments

Comments
 (0)