diff --git a/setup.cfg b/setup.cfg index dd4ef87381a76f439e00d960d50ca5ece156123f..556caf30a1403cf89248a99ec2ffb00fceaf5290 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,6 +6,9 @@ inline-quotes = " docstring-quotes = """ multiline-quotes = """ +per-file-ignores = + examples/advection.py:B023 + # enable-flake8-bugbear [mypy] diff --git a/test/test_distributed.py b/test/test_distributed.py index 3970c403d2614d350d1b9cd59cbc93a074813fd7..c7604d6fa8ca4d5938f4bebe668dd18fb2f32f3e 100644 --- a/test/test_distributed.py +++ b/test/test_distributed.py @@ -153,7 +153,7 @@ def _do_test_distributed_execution_random_dag(ctx_factory): nonlocal comm_tag comm_tag += 1 - tag = (comm_tag, _RandomDAGTag) + tag = (comm_tag, _RandomDAGTag) # noqa: B023 inner = make_random_dag(rdagc) return staple_distributed_send( diff --git a/test/test_pytato.py b/test/test_pytato.py index 1545384db37a5b39113c0ebd592e91c86cd8f51e..c6d3b1e11de21642a5349dbe8afecf6b4e436b16 100755 --- a/test/test_pytato.py +++ b/test/test_pytato.py @@ -817,7 +817,7 @@ def test_pickling_and_unpickling_is_equal(): def make_dws_placeholder(expr): if isinstance(expr, pt.DataWrapper): - return pt.make_placeholder(vng("_pt_ph"), + return pt.make_placeholder(vng("_pt_ph"), # noqa: B023 expr.shape, expr.dtype) else: return expr