From d65da4dc8f2aefec95f6963dd09ce321027ef37a Mon Sep 17 00:00:00 2001 From: Jonas Switala Date: Thu, 31 Oct 2024 12:35:00 +0100 Subject: [PATCH] test(write_exclude_list): add test for write_exclude_list config option --- test/test_transformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_transformer.py b/test/test_transformer.py index 1a1648474df..7eaff39676f 100644 --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -335,9 +335,9 @@ def test_write_exclude_list( for match in matches: if match.rule.id in expected or expected == set("all"): - match.rule.transform.assert_called() # type: ignore + match.rule.transform.assert_called() # type: ignore[attr-defined] else: - match.rule.transform.assert_not_called() # type: ignore + match.rule.transform.assert_not_called() # type: ignore[attr-defined] def test_pruned_err_after_fix(monkeypatch: pytest.MonkeyPatch, tmpdir: Path) -> None: