Qiskit-Extensions / circuit-knitting-toolbox

Tools for knitting quantum circuits with Qiskit
https://qiskit-extensions.github.io/circuit-knitting-toolbox/
Apache License 2.0
70 stars 24 forks source link

Enable pylint's `dangerous-default-value` check #544

Closed garrison closed 2 months ago

garrison commented 2 months ago

When I ran pylint in its default configuration, I noticed a few dangerous-default-value warnings in the new cut finder. I think it's worth adding this to our pylint configuration and fixing the existing issues in the code base. (Even though users aren't supposed to directly call this code, adding this to our config allows us to prevent similar dangerous defaults in places we do care about.)

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 8668017661

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 8664308665: 0.005%
Covered Lines: 3452
Relevant Lines: 3617

💛 - Coveralls