Skip to content

Commit af6ab4d

Browse files
committed
ignore annoying stack level warning
1 parent dbd236f commit af6ab4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,16 @@ ignore = [
289289
# Assigning lambda expression
290290
"E731",
291291
# Do not use variables named ‘l’, ‘O’, or ‘I’
292-
"E741"
292+
"E741",
293+
"B028"
293294
]
294295
target-version = "py310"
295296

296297
[tool.ruff.per-file-ignores]
297298
"__init__.py" = ["F401"]
298299
"papermill/cli.py" = ["C408"]
299300
"papermill/engines.py" = ["C408"]
300-
"papermill/iorw.py" = ["B018", "B006","UP038","B904","C408"]
301+
"papermill/iorw.py" = ["B018", "B006","UP038","B904","C408","B028"]
301302
"papermill/parameterize.py" = ["B904"]
302303
"papermill/s3.py" = ["C416","UP038","B007","B028"]
303304
"papermill/tests/test_cli.py" = ["C408"]

0 commit comments

Comments
 (0)