From 6573a4d61685a13a3906289d64f795d26038b212 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sun, 6 May 2018 19:25:18 +1200 Subject: [PATCH] Tell pylint to shut its fat mouth. I just want to return something I can refer to the attributes of via dot syntax without having to pointlessly write the names both when I declare the data class and when I assign the variables. Such a stupid warning. --- tests/unit/javascript/test_greasemonkey.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/javascript/test_greasemonkey.py b/tests/unit/javascript/test_greasemonkey.py index 80285ffca..f3d29608c 100644 --- a/tests/unit/javascript/test_greasemonkey.py +++ b/tests/unit/javascript/test_greasemonkey.py @@ -165,6 +165,7 @@ class TestWindowIsolation: @pytest.fixture def setup(self): + # pylint: disable=attribute-defined-outside-init class SetupData: pass ret = SetupData()