[libcamera-devel] [PATCH 00/24] utils: raspberrypi: ctt: Comply with pycodestyle

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue May 12 02:02:58 CEST 2020


Hello,

This patch series fixes most of the coding style issues reported by
pycodestyle in the ctt tool. I've left out two remaining issues as they
could be more controversial:

- Spaces around operators (E226 and 227)
- Usage of docstrings for comments (flagged by E302)

I can easily fix them if desired.

Laurent Pinchart (24):
  utils: raspberrypi: ctt: Fix pycodestyle E231
  utils: raspberrypi: ctt: Fix pycodestyle E201 and E202
  utils: raspberrypi: ctt: Fix pycodestyle E203
  utils: raspberrypi: ctt: Fix pycodestyle E241
  utils: raspberrypi: ctt: Fix pycodestyle E211
  utils: raspberrypi: ctt: Fix pycodestyle E251
  utils: raspberrypi: ctt: Fix pycodestyle E128
  utils: raspberrypi: ctt: Fix pycodestyle E225
  utils: raspberrypi: ctt: Fix pycodestyle E228
  utils: raspberrypi: ctt: Fix pycodestyle E701
  utils: raspberrypi: ctt: Fix pycodestyle E303
  utils: raspberrypi: ctt: Fix pycodestyle E261 and E262
  utils: raspberrypi: ctt: Fix pycodestyle W605
  utils: raspberrypi: ctt: Fix pycodestyle E222
  utils: raspberrypi: ctt: Fix pycodestyle E711 and E712
  utils: raspberrypi: ctt: Fix pycodestyle E123 and E126
  utils: raspberrypi: ctt: Fix pycodestyle E116 and E117
  utils: raspberrypi: ctt: Fix pycodestyle E713
  utils: raspberrypi: ctt: Fix pycodestyle E721
  utils: raspberrypi: ctt: Fix pycodestyle E722
  utils: raspberrypi: ctt: Fix pycodestyle W504
  utils: raspberrypi: ctt: Fix pycodestyle E741
  utils: raspberrypi: ctt: Fix pycodestyle E305
  utils: raspberrypi: ctt: Fix pycodestyle E302

 utils/raspberrypi/ctt/ctt.py                  | 257 ++++++++--------
 utils/raspberrypi/ctt/ctt_alsc.py             | 146 ++++-----
 utils/raspberrypi/ctt/ctt_awb.py              | 140 ++++-----
 utils/raspberrypi/ctt/ctt_ccm.py              |  67 ++--
 utils/raspberrypi/ctt/ctt_geq.py              |  50 +--
 utils/raspberrypi/ctt/ctt_image_load.py       | 125 ++++----
 utils/raspberrypi/ctt/ctt_lux.py              |  19 +-
 utils/raspberrypi/ctt/ctt_macbeth_locator.py  | 288 +++++++++---------
 utils/raspberrypi/ctt/ctt_noise.py            |  30 +-
 .../raspberrypi/ctt/ctt_pretty_print_json.py  |   9 +-
 utils/raspberrypi/ctt/ctt_ransac.py           |  56 ++--
 utils/raspberrypi/ctt/ctt_tools.py            |  64 ++--
 12 files changed, 641 insertions(+), 610 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list