Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SooluThomas committed Mar 12, 2024
1 parent 2803acf commit df40e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python_lib/qss_compiler/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def compile(self) -> Union[bytes, str, None]:
diag.message,
diagnostics,
return_diagnostics=self.return_diagnostics,
)
)

if not success:
raise exceptions.QSSCompilationFailure(
Expand Down
3 changes: 1 addition & 2 deletions python_lib/qss_compiler/lib_enums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ void addErrorCategory(py::module &m) {
qssc::ErrorCategory::QSSLinkInvalidPatchTypeError)
.value("QSSControlSystemResourcesExceeded",
qssc::ErrorCategory::QSSControlSystemResourcesExceeded)
.value("QSSUnsupportedQASM3",
qssc::ErrorCategory::QSSUnsupportedQASM3)
.value("QSSUnsupportedQASM3", qssc::ErrorCategory::QSSUnsupportedQASM3)
.value("UncategorizedError", qssc::ErrorCategory::UncategorizedError)
.export_values();
}
Expand Down

0 comments on commit df40e09

Please sign in to comment.