diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 03:32:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-13 16:58:58 +0300 |
commit | 23cb30918c27c2c9381d6426e3b7a46ccb8cfee5 (patch) | |
tree | ebeae50548f1bcc1be8a4b2f8de4c5c175c51a0a /utils/raspberrypi/ctt/ctt_image_load.py | |
parent | 23db936a1f66c74379063394f8d8c647e939c920 (diff) |
utils: raspberrypi: ctt: Fix pycodestyle E261 and E262
E261 at least two spaces before inline comment
E262 inline comment should start with '# '
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>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_image_load.py')
-rw-r--r-- | utils/raspberrypi/ctt/ctt_image_load.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/raspberrypi/ctt/ctt_image_load.py b/utils/raspberrypi/ctt/ctt_image_load.py index 584e0f8e..38026c7a 100644 --- a/utils/raspberrypi/ctt/ctt_image_load.py +++ b/utils/raspberrypi/ctt/ctt_image_load.py @@ -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] |