Skip to content

Commit 1b8375a

Browse files
authored
Merge pull request #5 from qiskit-community/add_ci
[WIP] Add CI
2 parents 3ae0b95 + 86d72da commit 1b8375a

40 files changed

+2374
-1762
lines changed

.clang-format

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

.github/ISSUE_TEMPLATE/BUG_REPORT.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
labels: ["dependencies"]
6+
schedule:
7+
interval: "weekly"
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
labels: ["dependencies"]
11+
versioning-strategy: increase
12+
schedule:
13+
interval: "monthly"

0 commit comments

Comments
 (0)