Skip to content

Commit 9effec2

Browse files
committed
Pylint and ruff: disable line
1 parent 34aeadc commit 9effec2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ disable = [
237237
"ungrouped-imports", # I001
238238
"unidiomatic-typecheck", # E721
239239
"unnecessary-direct-lambda-call", # PLC3002
240-
"unnecessary-lambda", # PLW0108
241240
"unnecessary-lambda-assignment", # PLC3001
242241
"unnecessary-pass", # PIE790
243242
"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)
273+
lambda *args, **kwargs: aiofiles.threadpool.AsyncBufferedIOBase(*args, **kwargs) # noqa: PLW0108 pylint: disable=unnecessary-lambda
274274
)
275275

276276

0 commit comments

Comments
 (0)