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.
This commit is contained in:
Jimmy 2018-05-06 19:25:18 +12:00
parent b0d1a137da
commit 6573a4d616

View File

@ -165,6 +165,7 @@ class TestWindowIsolation:
@pytest.fixture
def setup(self):
# pylint: disable=attribute-defined-outside-init
class SetupData:
pass
ret = SetupData()