From da88fcec0d4930bbcec0a44f678f744bfa5334b8 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 2 May 2020 03:32:00 +0300 Subject: utils: raspberrypi: ctt: Fix pycodestyle E201 and E202 E201 whitespace after '(' E201 whitespace after '{' E201 whitespace after '[' E202 whitespace before '}' E202 whitespace before ']' Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt_ransac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/raspberrypi/ctt/ctt_ransac.py') diff --git a/utils/raspberrypi/ctt/ctt_ransac.py b/utils/raspberrypi/ctt/ctt_ransac.py index 62d5cde8..a1513625 100644 --- a/utils/raspberrypi/ctt/ctt_ransac.py +++ b/utils/raspberrypi/ctt/ctt_ransac.py @@ -25,7 +25,7 @@ def get_square_verts(c_err = 0.05, scale = scale): c3 = (x_max, y_max) c4 = (x_max, 0) mac_norm = np.array((c1, c2, c3, c4), np.float32) - mac_norm = np.array([ mac_norm ]) + mac_norm = np.array([mac_norm]) square_verts = [] square_0 = np.array(((0, 0), (0, side), -- cgit v1.2.1