utils: raspberrypi: ctt: Fix pycodestyle E203

E203 whitespace before ':'

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
This commit is contained in:
Laurent Pinchart 2020-05-02 03:32:00 +03:00
parent da88fcec0d
commit d6527d382e
6 changed files with 45 additions and 45 deletions

View file

@ -45,11 +45,11 @@ class Image:
Channel order depending on bayer pattern
"""
bayer_case = {
0 : (0, 1, 2, 3), #red
1 : (2, 0, 3, 1), #green next to red
2 : (3, 2, 1, 0), #green next to blue
3 : (1, 0, 3, 2), #blue
128 : (0, 1, 2, 3) #arbitrary order for greyscale casw
0: (0, 1, 2, 3), #red
1: (2, 0, 3, 1), #green next to red
2: (3, 2, 1, 0), #green next to blue
3: (1, 0, 3, 2), #blue
128: (0, 1, 2, 3) #arbitrary order for greyscale casw
}
self.order = bayer_case[self.pattern]