mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-27 10:22:36 +08:00
Replace flake8 with ruff (#8184)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user