Skip to content

Commit d6d6e40

Browse files
Resolve merge conflict and updated seqan
2 parents ab93717 + 8c1a881 commit d6d6e40

File tree

173 files changed

+2696
-2741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+2696
-2741
lines changed

.clang-format

Lines changed: 125 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,84 @@
22
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: CC0-1.0
44

5-
# Format all files in include folder, including std module, excluding contrib module
6-
# find . \( -path "./include/seqan3/std/*" -or -iname "*.hpp" \) -and -not -path "./submodules/*" -and -not -path "./build/*" -and -not -path "./include/seqan3/contrib/*" -and -not -path "./test/*" | xargs clang-format-15 --style=file -i
5+
# Format all files in include/test folder, including std module, excluding contrib module
6+
# find . \( -path "./include/seqan3/std/*" -iname "*.cpp" -or -iname "*.hpp" \) -and -not -path "./submodules/*" -and -not -path "./build/*" -and -not -path "./include/seqan3/contrib/*" | xargs clang-format-18 --style=file -i
7+
# Staged files: git diff --name-only HEAD --diff-filter=ACMRT | grep -E "(\.cpp|\.hpp)$" | xargs clang-format-18 --style=file -i
8+
79
---
810
Language: Cpp
911
AccessModifierOffset: -4
1012
AlignAfterOpenBracket: Align
1113
AlignArrayOfStructures: None
12-
AlignConsecutiveMacros: None
13-
AlignConsecutiveAssignments: None
14-
AlignConsecutiveBitFields: None
15-
AlignConsecutiveDeclarations: None
14+
AlignConsecutiveAssignments:
15+
Enabled: false
16+
AcrossEmptyLines: false
17+
AcrossComments: false
18+
AlignCompound: false
19+
AlignFunctionPointers: false
20+
PadOperators: true
21+
AlignConsecutiveBitFields:
22+
Enabled: false
23+
AcrossEmptyLines: false
24+
AcrossComments: false
25+
AlignCompound: false
26+
AlignFunctionPointers: false
27+
PadOperators: true
28+
AlignConsecutiveDeclarations:
29+
Enabled: false
30+
AcrossEmptyLines: false
31+
AcrossComments: false
32+
AlignCompound: false
33+
AlignFunctionPointers: false
34+
PadOperators: true
35+
AlignConsecutiveMacros:
36+
Enabled: false
37+
AcrossEmptyLines: false
38+
AcrossComments: false
39+
AlignCompound: false
40+
AlignFunctionPointers: false
41+
PadOperators: true
42+
AlignConsecutiveShortCaseStatements:
43+
Enabled: false
44+
AcrossEmptyLines: false
45+
AcrossComments: false
46+
AlignCaseColons: false
1647
AlignEscapedNewlines: Right
1748
AlignOperands: AlignAfterOperator
18-
AlignTrailingComments: true
49+
AlignTrailingComments:
50+
Kind: Always
51+
OverEmptyLines: 0
1952
AllowAllArgumentsOnNextLine: false
2053
AllowAllParametersOfDeclarationOnNextLine: false
21-
AllowShortEnumsOnASingleLine: true
22-
AllowShortBlocksOnASingleLine: Never
54+
AllowBreakBeforeNoexceptSpecifier: OnlyWithParen
55+
AllowShortBlocksOnASingleLine: Empty
2356
AllowShortCaseLabelsOnASingleLine: false
57+
AllowShortCompoundRequirementOnASingleLine: true
58+
AllowShortEnumsOnASingleLine: true
2459
AllowShortFunctionsOnASingleLine: None
25-
AllowShortLambdasOnASingleLine: Empty
2660
AllowShortIfStatementsOnASingleLine: Never
61+
AllowShortLambdasOnASingleLine: Empty
2762
AllowShortLoopsOnASingleLine: false
2863
AlwaysBreakAfterDefinitionReturnType: None
2964
AlwaysBreakAfterReturnType: None
3065
AlwaysBreakBeforeMultilineStrings: false
3166
AlwaysBreakTemplateDeclarations: Yes
3267
AttributeMacros:
68+
- __capability
3369
BinPackArguments: false
3470
BinPackParameters: false
71+
BitFieldColonSpacing: Both
3572
BraceWrapping:
3673
AfterCaseLabel: true
3774
AfterClass: true
3875
AfterControlStatement: Always
3976
AfterEnum: true
77+
AfterExternBlock: true
4078
AfterFunction: true
4179
AfterNamespace: true
4280
AfterObjCDeclaration: false
4381
AfterStruct: true
4482
AfterUnion: true
45-
AfterExternBlock: true
4683
BeforeCatch: true
4784
BeforeElse: true
4885
BeforeLambdaBody: true
@@ -51,69 +88,93 @@ BraceWrapping:
5188
SplitEmptyFunction: false
5289
SplitEmptyRecord: false
5390
SplitEmptyNamespace: false
91+
BreakAdjacentStringLiterals: true
92+
BreakAfterAttributes: Leave
93+
BreakAfterJavaFieldAnnotations: false
94+
BreakArrays: true
5495
BreakBeforeBinaryOperators: NonAssignment
55-
BreakBeforeConceptDeclarations: true
96+
BreakBeforeConceptDeclarations: Always
5697
BreakBeforeBraces: Custom
57-
BreakBeforeInheritanceComma: false
58-
BreakInheritanceList: AfterColon
98+
BreakBeforeInlineASMColon: OnlyMultiline
5999
BreakBeforeTernaryOperators: true
60-
BreakConstructorInitializersBeforeComma: false
61100
BreakConstructorInitializers: AfterColon
62-
BreakAfterJavaFieldAnnotations: false
101+
BreakInheritanceList: AfterColon
63102
BreakStringLiterals: true
64103
ColumnLimit: 120
65104
CommentPragmas: '^ IWYU pragma:'
66-
QualifierAlignment: Custom
67-
QualifierOrder: ['static', 'inline', 'constexpr', 'volatile', 'type', 'const']
68105
CompactNamespaces: false
69106
ConstructorInitializerIndentWidth: 4
70107
ContinuationIndentWidth: 4
71108
Cpp11BracedListStyle: true
72-
DeriveLineEnding: true
73109
DerivePointerAlignment: false
74110
DisableFormat: false
75111
EmptyLineAfterAccessModifier: Never
76112
EmptyLineBeforeAccessModifier: Always
77113
ExperimentalAutoDetectBinPacking: false
78-
PackConstructorInitializers: CurrentLine
79-
BasedOnStyle: ''
80-
ConstructorInitializerAllOnOneLineOrOnePerLine: false
81-
AllowAllConstructorInitializersOnNextLine: true
82114
FixNamespaceComments: true
83115
ForEachMacros:
116+
- foreach
117+
- Q_FOREACH
118+
- BOOST_FOREACH
84119
IfMacros:
120+
- KJ_IF_MAYBE
85121
IncludeBlocks: Regroup
86122
IncludeCategories:
87123
- Regex: '(<gtest/.*|<benchmark/.*)'
88124
Priority: 1
125+
SortPriority: 0
126+
CaseSensitive: false
89127
- Regex: '(<[[:alnum:]._]+>|<seqan3/std/.*>)'
90128
Priority: 2
129+
SortPriority: 0
130+
CaseSensitive: false
91131
- Regex: '<sdsl/'
92132
Priority: 3
133+
SortPriority: 0
134+
CaseSensitive: false
93135
- Regex: '<seqan3/'
94136
Priority: 4
137+
SortPriority: 0
138+
CaseSensitive: false
95139
- Regex: '<cereal/'
96140
Priority: 5
141+
SortPriority: 0
142+
CaseSensitive: false
97143
- Regex: '<lemon/'
98144
Priority: 6
145+
SortPriority: 0
146+
CaseSensitive: false
99147
- Regex: '.*'
100148
Priority: 7
149+
SortPriority: 0
150+
CaseSensitive: false
101151
IncludeIsMainRegex: '(Test)?$'
102152
IncludeIsMainSourceRegex: ''
103153
IndentAccessModifiers: false
104-
IndentCaseLabels: false
105154
IndentCaseBlocks: false
155+
IndentCaseLabels: false
156+
IndentExternBlock: AfterExternBlock
106157
IndentGotoLabels: true
107158
IndentPPDirectives: AfterHash
108-
IndentExternBlock: AfterExternBlock
109-
IndentRequiresClause : true
159+
IndentRequiresClause: true
110160
IndentWidth: 4
111161
IndentWrappedFunctionNames: false
162+
InsertBraces: false
163+
InsertNewlineAtEOF: false
112164
InsertTrailingCommas: None
165+
IntegerLiteralSeparator:
166+
Binary: 4
167+
BinaryMinDigits: 0
168+
Decimal: 3
169+
DecimalMinDigits: 7
170+
Hex: 2
171+
HexMinDigits: 4
113172
JavaScriptQuotes: Leave
114173
JavaScriptWrapImports: true
115174
KeepEmptyLinesAtTheStartOfBlocks: true
175+
KeepEmptyLinesAtEOF: false
116176
LambdaBodyIndentation: Signature
177+
LineEnding: DeriveLF
117178
MacroBlockBegin: ''
118179
MacroBlockEnd: ''
119180
MaxEmptyLinesToKeep: 1
@@ -123,35 +184,51 @@ ObjCBlockIndentWidth: 2
123184
ObjCBreakBeforeNestedBlockParam: true
124185
ObjCSpaceAfterProperty: false
125186
ObjCSpaceBeforeProtocolList: true
187+
PackConstructorInitializers: CurrentLine
126188
PenaltyBreakAssignment: 2
127189
PenaltyBreakBeforeFirstCallParameter: 19
128190
PenaltyBreakComment: 300
129191
PenaltyBreakFirstLessLess: 120
130192
PenaltyBreakOpenParenthesis: 0
193+
PenaltyBreakScopeResolution: 500
131194
PenaltyBreakString: 1000
132195
PenaltyBreakTemplateDeclaration: 10
133196
PenaltyExcessCharacter: 1000000
134-
PenaltyReturnTypeOnItsOwnLine: 60
135197
PenaltyIndentedWhitespace: 0
198+
PenaltyReturnTypeOnItsOwnLine: 60
136199
PointerAlignment: Middle
137200
PPIndentWidth: -1
201+
QualifierAlignment: Custom
202+
QualifierOrder:
203+
- static
204+
- inline
205+
- constexpr
206+
- volatile
207+
- type
208+
- const
138209
ReferenceAlignment: Pointer
139210
ReflowComments: false
140211
RemoveBracesLLVM: false
141-
RequiresClausePosition : OwnLine
212+
RemoveParentheses: Leave
213+
RemoveSemicolon: false
214+
RequiresClausePosition: OwnLine
215+
RequiresExpressionIndentation: OuterScope
142216
SeparateDefinitionBlocks: Leave
143217
ShortNamespaceLines: 1
144-
SortIncludes: true
218+
SkipMacroDefinitionBody: false
219+
SortIncludes: CaseSensitive
145220
SortJavaStaticImport: Before
146-
SortUsingDeclarations: true
221+
SortUsingDeclarations: LexicographicNumeric
147222
SpaceAfterCStyleCast: false
148223
SpaceAfterLogicalNot: false
149224
SpaceAfterTemplateKeyword: true
225+
SpaceAroundPointerQualifiers: Default
150226
SpaceBeforeAssignmentOperators: true
151227
SpaceBeforeCaseColon: false
152228
SpaceBeforeCpp11BracedList: false
153229
SpaceBeforeCtorInitializerColon: true
154230
SpaceBeforeInheritanceColon: true
231+
SpaceBeforeJsonColon: false
155232
SpaceBeforeParens: Custom
156233
SpaceBeforeParensOptions:
157234
AfterControlStatements: true
@@ -160,31 +237,39 @@ SpaceBeforeParensOptions:
160237
AfterFunctionDeclarationName: false
161238
AfterIfMacros: true
162239
AfterOverloadedOperator: false
163-
AfterRequiresInClause : true
164-
AfterRequiresInExpression : true
240+
AfterPlacementOperator: true
241+
AfterRequiresInClause: true
242+
AfterRequiresInExpression: true
165243
BeforeNonEmptyParentheses: false
166-
SpaceAroundPointerQualifiers: Default
167244
SpaceBeforeRangeBasedForLoopColon: true
245+
SpaceBeforeSquareBrackets: false
168246
SpaceInEmptyBlock: false
169-
SpaceInEmptyParentheses: false
170247
SpacesBeforeTrailingComments: 1
171248
SpacesInAngles: Never
172-
SpacesInConditionalStatement: false
173249
SpacesInContainerLiterals: false
174-
SpacesInCStyleCastParentheses: false
175250
SpacesInLineCommentPrefix:
176251
Minimum: 1
177252
Maximum: -1
178-
SpacesInParentheses: false
253+
SpacesInParens: Never
254+
SpacesInParensOptions:
255+
InCStyleCasts: false
256+
InConditionalStatements: false
257+
InEmptyParentheses: false
258+
Other: false
179259
SpacesInSquareBrackets: false
180-
SpaceBeforeSquareBrackets: false
181-
BitFieldColonSpacing: Both
182260
Standard: c++20
183261
StatementAttributeLikeMacros:
262+
- Q_EMIT
184263
StatementMacros:
264+
- Q_UNUSED
265+
- QT_REQUIRE_VERSION
185266
TabWidth: 4
186-
UseCRLF: false
187267
UseTab: Never
268+
VerilogBreakBetweenInstancePorts: true
188269
WhitespaceSensitiveMacros:
189270
- SEQAN3_DEPRECATED_HEADER
271+
- CF_SWIFT_NAME
272+
- NS_SWIFT_NAME
273+
- PP_STRINGIZE
274+
- STRINGIZE
190275
...

.codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# See https://docs.codecov.io/docs/codecovyml-reference
66
codecov:
7+
token: a75b1e95-134c-4ada-adac-5846045f188e
78
require_ci_to_pass: no # codecov reports its results independent of whether CI passed
89
notify:
910
wait_for_ci: no # codecov has not to wait until the CI is finished to post its results
@@ -19,3 +20,7 @@ coverage:
1920
if_ci_failed: success # per default, codecov would fail if any CI fails
2021
informational: true # the codecov/patch status is never "fail"
2122
only_pulls: true # only post codecov/patch status on PRs
23+
24+
parsers:
25+
cobertura:
26+
partials_as_hits: true

0 commit comments

Comments
 (0)