From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> PEP8 defines that there should be no whitespace before or after the '{' and '}' braces. Remove whitespace from two statements that incorrectly place spaces around these braces. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> --- tests/kmstest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kmstest.py b/tests/kmstest.py index e8e3c3a0305b..0cf69f44703e 100755 --- a/tests/kmstest.py +++ b/tests/kmstest.py @@ -197,7 +197,7 @@ class KMSTest(object): req = pykms.AtomicReq(self.card) req.add(connector, 'CRTC_ID', crtc.id) - req.add(crtc, { 'ACTIVE': 1, 'MODE_ID': mode_blob.id }) + req.add(crtc, {'ACTIVE': 1, 'MODE_ID': mode_blob.id}) if fb: req.add(crtc.primary_plane, { 'FB_ID': fb.id, @@ -238,7 +238,7 @@ class KMSTest(object): def atomic_planes_disable(self, sync=True): req = pykms.AtomicReq(self.card) for plane in self.card.planes: - req.add(plane, { "FB_ID": 0, 'CRTC_ID': 0 }) + req.add(plane, {"FB_ID": 0, 'CRTC_ID': 0}) if sync: return req.commit_sync() -- 2.7.4