Skip to content

Commit 1ba55cd

Browse files
committed
Ruff: disable PLW0108 check
1 parent 8b40148 commit 1ba55cd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ disable = [
237237
"ungrouped-imports", # I001
238238
"unidiomatic-typecheck", # E721
239239
"unnecessary-direct-lambda-call", # PLC3002
240+
"unnecessary-lambda", # PLW0108
240241
"unnecessary-lambda-assignment", # PLC3001
241242
"unnecessary-pass", # PIE790
242243
"unneeded-not", # SIM208

tests/test_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ async def send(
270270

271271

272272
aiofiles.threadpool.wrap.register(MagicMock)(
273-
lambda *args, **kwargs: aiofiles.threadpool.AsyncBufferedIOBase(*args, **kwargs) # pylint: disable=unnecessary-lambda
273+
lambda *args, **kwargs: aiofiles.threadpool.AsyncBufferedIOBase(*args, **kwargs)
274274
)
275275

276276

0 commit comments

Comments
 (0)