cda-tum / mqt-qcec

MQT QCEC - A tool for Quantum Circuit Equivalence Checking
https://mqt.readthedocs.io/projects/qcec
MIT License
90 stars 21 forks source link

✨ adopt ruff formatter and update ruff config #324

Closed burgholzer closed 11 months ago

burgholzer commented 11 months ago

Description

This PR adopts the new ruff formatter as a replacement for black and, in turn, also updates the ruff configuration.

Checklist:

codecov[bot] commented 11 months ago

Codecov Report

Merging #324 (0f63779) into main (815ed06) will increase coverage by 5.6%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324/graphs/tree.svg?width=650&height=150&src=pr&token=eKL7Ya7iep&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) ```diff @@ Coverage Diff @@ ## main #324 +/- ## ======================================= + Coverage 90.4% 96.0% +5.6% ======================================= Files 34 34 Lines 1738 1738 Branches 212 212 ======================================= + Hits 1572 1670 +98 + Misses 166 68 -98 ``` | [Flag](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [cpp](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `95.7% <ø> (ø)` | | Carriedforward from [815ed06](https://app.codecov.io/gh/cda-tum/mqt-qcec/commit/815ed061fb3548051db828ddfb116331b3c7eaca?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | | [python](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `97.2% <ø> (+24.9%)` | :arrow_up: | | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) to find out more. [see 1 file with indirect coverage changes](https://app.codecov.io/gh/cda-tum/mqt-qcec/pull/324/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)