-
Notifications
You must be signed in to change notification settings - Fork 35
🎨 LLVM code format and Python binding restructure #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## mqt-core #321 +/- ##
==========================================
- Coverage 87.4% 81.6% -5.9%
==========================================
Files 58 60 +2
Lines 6725 7659 +934
Branches 1351 1474 +123
==========================================
+ Hits 5884 6252 +368
- Misses 841 1407 +566
|
Ignoring the coverage decrease for now as the much bigger impact for coverage will probably come from moving the DD and ZX package out of the |
… a real library instead of header-only
pybind objects are handles and behave like pointers
Cpp-Linter Report ✔️No problems need attention. Have any feedback or feature suggestions? Share it here. |
This is the main PR that marks the transition from the existing submodule structure towards a unified `mqt-core` package and consists of a series of smaller PRs. For more details on the individual changes please look at: - [x] Transfer DD package from submodule to folder #316 - [x] Transfer ZX package from submodule to folder #317 - [x] Remove `mqt.qfr` Python package and corresponding CI #319 - [x] Consolidate `googletest` submodule #320 - [x] Use stricter `clang-format` config throughout #321 - [x] Move DD package code to main directory #326 - [x] Move ZX package code to main directory #327 - [x] Replace `QFR` with `MQT Core` (ensure backwards compatibility via alias) #328 - [x] Various CI improvements and speedups - #322 - #323 - #324 - #325 - #329
This PR unifies the
clang-format
configuration (closely following the LLVM style) and applies it to all files.The ZX package was mostly formatted according to those rules anyway, so there are hardly any changes there.
Lots of line break and whitespace changes in the DD package and the QFR files though. Might need some cleanup later on.
This also moves the
qfr_python
target (which was previously a header-only library) to the main source tree and splits it into header and source files with the main goal of optimizing compile times.