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:
parent
b0d1a137da
commit
6573a4d616
@ -165,6 +165,7 @@ class TestWindowIsolation:
|
|||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
# pylint: disable=attribute-defined-outside-init
|
||||||
class SetupData:
|
class SetupData:
|
||||||
pass
|
pass
|
||||||
ret = SetupData()
|
ret = SetupData()
|
||||||
|
Loading…
Reference in New Issue
Block a user