Replace flake8 with ruff (#8184)

This commit is contained in:
Christian Clauss
2023-03-16 13:31:29 +01:00
committed by GitHub
parent c96241b5a5
commit 521fbca61c
9 changed files with 20 additions and 19 deletions

View File

@ -54,9 +54,9 @@ def full_adder(
# The default value for **backend** is the result of a function call which is not
# normally recommended and causes flake8-bugbear to raise a B008 error. However,
# in this case, this is acceptable because `Aer.get_backend()` is called when the
# function is defined and that same backend is then reused for all function calls.
# normally recommended and causes ruff to raise a B008 error. However, in this case,
# this is acceptable because `Aer.get_backend()` is called when the function is defined
# and that same backend is then reused for all function calls.
def ripple_adder(