Skip to content

Commit f67ea07

Browse files
authored
Initial commit
0 parents  commit f67ea07

File tree

9 files changed

+780
-0
lines changed

9 files changed

+780
-0
lines changed

.clang-format

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
BasedOnStyle: Chromium
2+
AccessModifierOffset: -1
3+
AlignAfterOpenBracket: Align
4+
AlignArrayOfStructures: None
5+
AlignConsecutiveAssignments:
6+
Enabled: false
7+
AcrossEmptyLines: false
8+
AcrossComments: false
9+
AlignCompound: false
10+
AlignFunctionPointers: false
11+
PadOperators: true
12+
AlignConsecutiveBitFields:
13+
Enabled: false
14+
AcrossEmptyLines: false
15+
AcrossComments: false
16+
AlignCompound: false
17+
AlignFunctionPointers: false
18+
PadOperators: false
19+
AlignConsecutiveDeclarations:
20+
Enabled: false
21+
AcrossEmptyLines: false
22+
AcrossComments: false
23+
AlignCompound: false
24+
AlignFunctionPointers: false
25+
PadOperators: false
26+
AlignConsecutiveMacros:
27+
Enabled: false
28+
AcrossEmptyLines: false
29+
AcrossComments: false
30+
AlignCompound: false
31+
AlignFunctionPointers: false
32+
PadOperators: false
33+
AlignConsecutiveShortCaseStatements:
34+
Enabled: false
35+
AcrossEmptyLines: false
36+
AcrossComments: false
37+
AlignCaseArrows: false
38+
AlignCaseColons: false
39+
AlignConsecutiveTableGenBreakingDAGArgColons:
40+
Enabled: false
41+
AcrossEmptyLines: false
42+
AcrossComments: false
43+
AlignCompound: false
44+
AlignFunctionPointers: false
45+
PadOperators: false
46+
AlignConsecutiveTableGenCondOperatorColons:
47+
Enabled: false
48+
AcrossEmptyLines: false
49+
AcrossComments: false
50+
AlignCompound: false
51+
AlignFunctionPointers: false
52+
PadOperators: false
53+
AlignConsecutiveTableGenDefinitionColons:
54+
Enabled: false
55+
AcrossEmptyLines: false
56+
AcrossComments: false
57+
AlignCompound: false
58+
AlignFunctionPointers: false
59+
PadOperators: false
60+
AlignEscapedNewlines: Left
61+
AlignOperands: Align
62+
AlignTrailingComments:
63+
Kind: Always
64+
OverEmptyLines: 0
65+
AllowAllArgumentsOnNextLine: true
66+
AllowAllParametersOfDeclarationOnNextLine: false
67+
AllowBreakBeforeNoexceptSpecifier: Never
68+
AllowShortBlocksOnASingleLine: Never
69+
AllowShortCaseExpressionOnASingleLine: true
70+
AllowShortCaseLabelsOnASingleLine: false
71+
AllowShortCompoundRequirementOnASingleLine: true
72+
AllowShortEnumsOnASingleLine: true
73+
AllowShortFunctionsOnASingleLine: Inline
74+
AllowShortIfStatementsOnASingleLine: Never
75+
AllowShortLambdasOnASingleLine: All
76+
AllowShortLoopsOnASingleLine: false
77+
AlwaysBreakAfterDefinitionReturnType: None
78+
AlwaysBreakBeforeMultilineStrings: true
79+
AttributeMacros:
80+
- __capability
81+
BinPackArguments: true
82+
BinPackParameters: false
83+
BitFieldColonSpacing: Both
84+
BraceWrapping:
85+
AfterCaseLabel: false
86+
AfterClass: false
87+
AfterControlStatement: Never
88+
AfterEnum: false
89+
AfterFunction: false
90+
AfterNamespace: false
91+
AfterObjCDeclaration: false
92+
AfterStruct: false
93+
AfterUnion: false
94+
AfterExternBlock: false
95+
BeforeCatch: false
96+
BeforeElse: false
97+
BeforeLambdaBody: false
98+
BeforeWhile: false
99+
IndentBraces: false
100+
SplitEmptyFunction: true
101+
SplitEmptyRecord: true
102+
SplitEmptyNamespace: true
103+
BreakAdjacentStringLiterals: true
104+
BreakAfterAttributes: Leave
105+
BreakAfterJavaFieldAnnotations: false
106+
BreakAfterReturnType: None
107+
BreakArrays: true
108+
BreakBeforeBinaryOperators: None
109+
BreakBeforeBraces: Attach
110+
BreakBeforeConceptDeclarations: Always
111+
BreakBeforeInlineASMColon: OnlyMultiline
112+
BreakBeforeTernaryOperators: true
113+
BreakConstructorInitializers: BeforeColon
114+
BreakFunctionDefinitionParameters: false
115+
BreakInheritanceList: BeforeColon
116+
BreakStringLiterals: true
117+
BreakTemplateDeclarations: Yes
118+
ColumnLimit: 80
119+
CommentPragmas: "^ IWYU pragma:"
120+
CompactNamespaces: false
121+
ConstructorInitializerIndentWidth: 4
122+
ContinuationIndentWidth: 4
123+
Cpp11BracedListStyle: true
124+
DerivePointerAlignment: false
125+
DisableFormat: false
126+
EmptyLineAfterAccessModifier: Never
127+
EmptyLineBeforeAccessModifier: LogicalBlock
128+
ExperimentalAutoDetectBinPacking: false
129+
FixNamespaceComments: true
130+
ForEachMacros:
131+
- foreach
132+
- Q_FOREACH
133+
- BOOST_FOREACH
134+
IfMacros:
135+
- KJ_IF_MAYBE
136+
IncludeBlocks: Preserve
137+
IncludeCategories:
138+
- Regex: ^<ext/.*\.h>
139+
Priority: 2
140+
SortPriority: 0
141+
CaseSensitive: false
142+
- Regex: ^<.*\.h>
143+
Priority: 1
144+
SortPriority: 0
145+
CaseSensitive: false
146+
- Regex: ^<.*
147+
Priority: 2
148+
SortPriority: 0
149+
CaseSensitive: false
150+
- Regex: .*
151+
Priority: 3
152+
SortPriority: 0
153+
CaseSensitive: false
154+
IncludeIsMainRegex: ([-_](test|unittest))?$
155+
IncludeIsMainSourceRegex: ""
156+
IndentAccessModifiers: false
157+
IndentCaseBlocks: false
158+
IndentCaseLabels: true
159+
IndentExternBlock: AfterExternBlock
160+
IndentGotoLabels: true
161+
IndentPPDirectives: None
162+
IndentRequiresClause: true
163+
IndentWidth: 4
164+
IndentWrappedFunctionNames: false
165+
InsertBraces: false
166+
InsertNewlineAtEOF: false
167+
InsertTrailingCommas: None
168+
IntegerLiteralSeparator:
169+
Binary: 0
170+
BinaryMinDigits: 0
171+
Decimal: 0
172+
DecimalMinDigits: 0
173+
Hex: 0
174+
HexMinDigits: 0
175+
JavaScriptQuotes: Leave
176+
JavaScriptWrapImports: true
177+
KeepEmptyLines:
178+
AtEndOfFile: false
179+
AtStartOfBlock: false
180+
AtStartOfFile: true
181+
LambdaBodyIndentation: Signature
182+
Language: Cpp
183+
LineEnding: DeriveLF
184+
MacroBlockBegin: ""
185+
MacroBlockEnd: ""
186+
MainIncludeChar: Quote
187+
MaxEmptyLinesToKeep: 1
188+
NamespaceIndentation: None
189+
ObjCBinPackProtocolList: Never
190+
ObjCBlockIndentWidth: 2
191+
ObjCBreakBeforeNestedBlockParam: true
192+
ObjCSpaceAfterProperty: false
193+
ObjCSpaceBeforeProtocolList: true
194+
PPIndentWidth: -1
195+
PackConstructorInitializers: NextLine
196+
PenaltyBreakAssignment: 2
197+
PenaltyBreakBeforeFirstCallParameter: 1
198+
PenaltyBreakComment: 300
199+
PenaltyBreakFirstLessLess: 120
200+
PenaltyBreakOpenParenthesis: 0
201+
PenaltyBreakScopeResolution: 500
202+
PenaltyBreakString: 1000
203+
PenaltyBreakTemplateDeclaration: 10
204+
PenaltyExcessCharacter: 1000000
205+
PenaltyIndentedWhitespace: 0
206+
PenaltyReturnTypeOnItsOwnLine: 200
207+
PointerAlignment: Left
208+
QualifierAlignment: Leave
209+
RawStringFormats:
210+
- Language: Cpp
211+
Delimiters:
212+
- cc
213+
- CC
214+
- cpp
215+
- Cpp
216+
- CPP
217+
- c++
218+
- C++
219+
CanonicalDelimiter: ""
220+
BasedOnStyle: google
221+
- Language: TextProto
222+
Delimiters:
223+
- pb
224+
- PB
225+
- proto
226+
- PROTO
227+
EnclosingFunctions:
228+
- EqualsProto
229+
- EquivToProto
230+
- PARSE_PARTIAL_TEXT_PROTO
231+
- PARSE_TEST_PROTO
232+
- PARSE_TEXT_PROTO
233+
- ParseTextOrDie
234+
- ParseTextProtoOrDie
235+
- ParseTestProto
236+
- ParsePartialTestProto
237+
CanonicalDelimiter: pb
238+
BasedOnStyle: google
239+
ReferenceAlignment: Pointer
240+
ReflowComments: true
241+
RemoveBracesLLVM: false
242+
RemoveParentheses: Leave
243+
RemoveSemicolon: false
244+
RequiresClausePosition: OwnLine
245+
RequiresExpressionIndentation: OuterScope
246+
SeparateDefinitionBlocks: Leave
247+
ShortNamespaceLines: 1
248+
SkipMacroDefinitionBody: false
249+
SortIncludes: CaseSensitive
250+
SortJavaStaticImport: Before
251+
SortUsingDeclarations: LexicographicNumeric
252+
SpaceAfterCStyleCast: false
253+
SpaceAfterLogicalNot: false
254+
SpaceAfterTemplateKeyword: true
255+
SpaceAroundPointerQualifiers: Default
256+
SpaceBeforeAssignmentOperators: true
257+
SpaceBeforeCaseColon: false
258+
SpaceBeforeCpp11BracedList: false
259+
SpaceBeforeCtorInitializerColon: true
260+
SpaceBeforeInheritanceColon: true
261+
SpaceBeforeJsonColon: false
262+
SpaceBeforeParens: ControlStatements
263+
SpaceBeforeParensOptions:
264+
AfterControlStatements: true
265+
AfterForeachMacros: true
266+
AfterFunctionDeclarationName: false
267+
AfterFunctionDefinitionName: false
268+
AfterIfMacros: true
269+
AfterOverloadedOperator: false
270+
AfterPlacementOperator: true
271+
AfterRequiresInClause: false
272+
AfterRequiresInExpression: false
273+
BeforeNonEmptyParentheses: false
274+
SpaceBeforeRangeBasedForLoopColon: true
275+
SpaceBeforeSquareBrackets: false
276+
SpaceInEmptyBlock: false
277+
SpacesBeforeTrailingComments: 2
278+
SpacesInAngles: Never
279+
SpacesInContainerLiterals: true
280+
SpacesInLineCommentPrefix:
281+
Minimum: 1
282+
Maximum: -1
283+
SpacesInParens: Never
284+
SpacesInParensOptions:
285+
ExceptDoubleParentheses: false
286+
InConditionalStatements: false
287+
InCStyleCasts: false
288+
InEmptyParentheses: false
289+
Other: false
290+
SpacesInSquareBrackets: false
291+
Standard: Auto
292+
StatementAttributeLikeMacros:
293+
- Q_EMIT
294+
StatementMacros:
295+
- Q_UNUSED
296+
- QT_REQUIRE_VERSION
297+
TabWidth: 8
298+
TableGenBreakInsideDAGArg: DontBreak
299+
UseTab: Never
300+
VerilogBreakBetweenInstancePorts: true
301+
WhitespaceSensitiveMacros:
302+
- BOOST_PP_STRINGIZE
303+
- CF_SWIFT_NAME
304+
- NS_SWIFT_NAME
305+
- PP_STRINGIZE
306+
- STRINGIZE

.github/workflows/pre-commit.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: pre-commit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [ opened, synchronize, reopened, ready_for_review ]
9+
workflow_dispatch:
10+
jobs:
11+
pre-commit:
12+
uses: vortexntnu/vortex-ci/.github/workflows/reusable-pre-commit.yml@main
13+
with:
14+
ros_distro: 'humble'
15+
config_path: '.pre-commit-config.yaml'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Semantic Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
semantic-release:
9+
uses: vortexntnu/vortex-ci/.github/workflows/reusable-semantic-release.yml@main

0 commit comments

Comments
 (0)