Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
parent
2a5c85a020
commit
ccd2e989c3
58 changed files with 150 additions and 128 deletions
|
@ -25,7 +25,7 @@ async def anova_api(
|
|||
async def get_devices_side_effect():
|
||||
if not api_mock.existing_devices:
|
||||
api_mock.existing_devices = []
|
||||
api_mock.existing_devices = api_mock.existing_devices + [new_device]
|
||||
api_mock.existing_devices = [*api_mock.existing_devices, new_device]
|
||||
return [new_device]
|
||||
|
||||
api_mock.authenticate.side_effect = authenticate_side_effect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue