cda-tum / mqt-bench

MQT Bench - A MQT tool for Benchmarking Quantum Software Tools
https://www.cda.cit.tum.de/mqtbench/
MIT License
68 stars 12 forks source link

Improve ruff config #315

Closed nquetschlich closed 2 months ago

nquetschlich commented 2 months ago

I added more ruff checks using https://github.com/cda-tum/mqt-qcec/blob/main/pyproject.toml as a template.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 98.76543% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 91.8%. Comparing base (b430673) to head (e78fbac).

Files Patch % Lines
src/mqt/bench/benchmarks/ae.py 50.0% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #315 +/- ## ======================================= - Coverage 91.9% 91.8% -0.1% ======================================= Files 46 46 Lines 2416 2419 +3 ======================================= + Hits 2221 2223 +2 - Misses 195 196 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

burgholzer commented 2 months ago

I took the liberty of updating a little more of the overall ruff/pre-commit configuration. MQT Bench now also complies with all the guidelines of the Scientific Python Guide from https://learn.scientific-python.org/development/guides/repo-review/. I will take care of getting the CI green.