-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAQ recordings and 🆕 configuration system
- Loading branch information
Showing
188 changed files
with
13,797 additions
and
7,017 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.21.9 | ||
current_version = 0.22.0 | ||
commit = True | ||
tag = False | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
--- | ||
Language: Cpp | ||
AccessModifierOffset: -1 | ||
AlignAfterOpenBracket: BlockIndent | ||
AlignArrayOfStructures: Left | ||
AlignConsecutiveMacros: true | ||
# Enabled: true | ||
# AcrossEmptyLines: true | ||
# AcrossComments: true | ||
AlignConsecutiveAssignments: true | ||
# Enabled: true | ||
# AcrossEmptyLines: true | ||
# AcrossComments: true | ||
AlignConsecutiveDeclarations: true | ||
# Enabled: false | ||
# AcrossEmptyLines: true | ||
# AcrossComments: true | ||
AlignConsecutiveBitFields: true | ||
# Enabled: false | ||
# AcrossEmptyLines: true | ||
# AcrossComments: true | ||
AlignEscapedNewlines: Right | ||
AlignOperands: Align | ||
AlignTrailingComments: true | ||
# Starting with clang-format 16: | ||
# Kind: Always | ||
# OverEmptyLines: 2 | ||
# MaxEmptyLinesToKeep: 2 | ||
AllowAllArgumentsOnNextLine: true | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: Never | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortEnumsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortLambdasOnASingleLine: Inline | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: Yes | ||
# AttributeMacros: ['__capability', '__output', '__ununsed'] # useful for language extensions or static analyzer annotations. | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
BitFieldColonSpacing: After | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: false | ||
AfterClass: false | ||
AfterControlStatement: Never | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterObjCDeclaration: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
AfterExternBlock: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
SplitEmptyFunction: true | ||
SplitEmptyRecord: true | ||
SplitEmptyNamespace: true | ||
# BracedInitializerIndentWidth: 4 | ||
# BreakAfterAttributes: Never | ||
BreakAfterJavaFieldAnnotations: true | ||
BreakBeforeBinaryOperators: None | ||
# BreakBeforeConceptDeclarations: Allowed | ||
BreakBeforeInheritanceComma: false | ||
BreakInheritanceList: AfterComma | ||
BreakBeforeTernaryOperators: false | ||
BreakConstructorInitializersBeforeComma: false | ||
BreakConstructorInitializers: AfterColon | ||
BreakStringLiterals: true | ||
ColumnLimit: 132 | ||
CommentPragmas: "^ IWYU pragma:" | ||
CompactNamespaces: false | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
DeriveLineEnding: true | ||
DerivePointerAlignment: true | ||
DisableFormat: false | ||
EmptyLineAfterAccessModifier: Always | ||
EmptyLineBeforeAccessModifier: LogicalBlock | ||
ExperimentalAutoDetectBinPacking: false | ||
FixNamespaceComments: true | ||
ForEachMacros: | ||
- foreach | ||
- Q_FOREACH | ||
- BOOST_FOREACH | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
- Regex: '^<ext/.*\.h>' | ||
Priority: 2 | ||
SortPriority: 0 | ||
- Regex: '^<.*\.h>' | ||
Priority: 1 | ||
SortPriority: 0 | ||
- Regex: "^<.*" | ||
Priority: 2 | ||
SortPriority: 0 | ||
- Regex: ".*" | ||
Priority: 3 | ||
SortPriority: 0 | ||
IncludeIsMainRegex: "([-_](test|unittest))?$" | ||
IncludeIsMainSourceRegex: "" | ||
IndentCaseLabels: true | ||
IndentCaseBlocks: true | ||
IndentExternBlock: Indent | ||
IndentGotoLabels: true | ||
IndentPPDirectives: BeforeHash | ||
# IndentRequiresClause: true | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: false | ||
# InsertBraces: true # be careful! | ||
# InsertNewlineAtEOF: true # clang-format 16 | ||
JavaScriptQuotes: Leave | ||
JavaScriptWrapImports: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MacroBlockBegin: "" | ||
MacroBlockEnd: "" | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: Inner | ||
ObjCBinPackProtocolList: Never | ||
ObjCBlockIndentWidth: 4 | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: true | ||
PackConstructorInitializers: NextLine | ||
PenaltyBreakAssignment: 2 | ||
PenaltyBreakBeforeFirstCallParameter: 1 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
PenaltyBreakTemplateDeclaration: 10 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
PPIndentWidth: 4 | ||
RawStringFormats: | ||
- Language: Cpp | ||
Delimiters: | ||
- cc | ||
- CC | ||
- cpp | ||
- Cpp | ||
- CPP | ||
- "c++" | ||
- "C++" | ||
CanonicalDelimiter: "" | ||
BasedOnStyle: google | ||
- Language: TextProto | ||
Delimiters: | ||
- pb | ||
- PB | ||
- proto | ||
- PROTO | ||
EnclosingFunctions: | ||
- EqualsProto | ||
- EquivToProto | ||
- PARSE_PARTIAL_TEXT_PROTO | ||
- PARSE_TEST_PROTO | ||
- PARSE_TEXT_PROTO | ||
- ParseTextOrDie | ||
- ParseTextProtoOrDie | ||
CanonicalDelimiter: "" | ||
BasedOnStyle: google | ||
ReferenceAlignment: Left | ||
ReflowComments: true | ||
SeparateDefinitionBlocks: Always | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
|
||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
|
||
SpaceAroundPointerQualifiers: Both | ||
|
||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCaseColon: false | ||
SpaceBeforeCpp11BracedList: false | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatementsExceptControlMacros | ||
# SpaceBeforeParensOptions -- TODO: | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceBeforeSquareBrackets: false | ||
SpacesBeforeTrailingComments: 2 | ||
|
||
SpacesInAngles: Leave | ||
SpaceInEmptyBlock: false | ||
SpaceInEmptyParentheses: false | ||
SpacesInConditionalStatement: false | ||
SpacesInContainerLiterals: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
|
||
Standard: Auto | ||
StatementMacros: | ||
- Q_UNUSED | ||
- QT_REQUIRE_VERSION | ||
TabWidth: 4 | ||
UseCRLF: false | ||
UseTab: Never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[darglint] | ||
strictness = long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,74 +14,70 @@ jobs: | |
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ | ||
macos-13, | ||
windows-latest, | ||
ubuntu-latest | ||
] | ||
cibw_archs: ["auto"] | ||
include: | ||
- os: ubuntu-latest | ||
cibw_archs: "aarch64" | ||
fail-fast: false | ||
matrix: | ||
os: [macos-13, windows-latest, ubuntu-latest] | ||
cibw_archs: ["auto"] | ||
include: | ||
- os: ubuntu-latest | ||
cibw_archs: "aarch64" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
components: rustfmt, clippy | ||
toolchain: nightly | ||
override: true | ||
components: rustfmt, clippy | ||
- name: Build wheel | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
name: Build source distribution | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build sdist | ||
run: | | ||
pip install -U build | ||
python -m build --sdist | ||
- name: Build sdist | ||
run: | | ||
pip install -U build | ||
python -m build --sdist | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist/*.tar.gz | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: dist/*.tar.gz | ||
upload_pypi: | ||
needs: [build_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') | ||
# alternatively, to publish when a GitHub Release is created, use the following rule: | ||
# if: github.event_name == 'release' && github.event.action == 'published' | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: artifact | ||
path: dist | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
# To test: repository_url: https://test.pypi.org/legacy/ | ||
# | ||
# - name: Upload to PyPI | ||
#uses: pypa/[email protected] | ||
#with: | ||
# user: ${{ secrets.PYPI_USER_NAME }} | ||
# password: ${{ secrets.PYPI_PASSWORD }} | ||
#- name: Build and publish | ||
# env: | ||
# TWINE_USERNAME: ${{ secrets.PYPI_USER_NAME }} | ||
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
# if: env.TWINE_USERNAME != null | ||
# run: | | ||
# python setup.py bdist_wheel | ||
# twine upload dist/* | ||
# - name: Upload to PyPI | ||
#uses: pypa/[email protected] | ||
#with: | ||
# user: ${{ secrets.PYPI_USER_NAME }} | ||
# password: ${{ secrets.PYPI_PASSWORD }} | ||
#- name: Build and publish | ||
# env: | ||
# TWINE_USERNAME: ${{ secrets.PYPI_USER_NAME }} | ||
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
# if: env.TWINE_USERNAME != null | ||
# run: | | ||
# python setup.py bdist_wheel | ||
# twine upload dist/* |
Oops, something went wrong.