We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168e21c commit 5062135Copy full SHA for 5062135
.clang-format
@@ -9,6 +9,7 @@ BinPackParameters: false
9
BreakBeforeBinaryOperators: All
10
BreakConstructorInitializers: BeforeColon
11
ColumnLimit: 99
12
+IncludeBlocks: Regroup
13
IndentCaseLabels: true
14
IndentPPDirectives: AfterHash
15
IndentWidth: 4
@@ -17,4 +18,19 @@ SpaceAfterCStyleCast: true
17
18
Standard: Cpp11
19
StatementMacros: ['PyObject_HEAD']
20
TabWidth: 4
21
+IncludeCategories:
22
+ - Regex: '<pybind11/.*'
23
+ Priority: -1
24
+ - Regex: 'pybind11.h"$'
25
+ Priority: 1
26
+ - Regex: '^".*/?detail/'
27
28
+ SortPriority: 2
29
+ - Regex: '^"'
30
31
+ SortPriority: 3
32
+ - Regex: '<[[:alnum:]._]+>'
33
+ Priority: 4
34
+ - Regex: '.*'
35
+ Priority: 5
36
...
0 commit comments