libcamera/utils
Kieran Bingham 32dd1a3b2f utils: checkstyle.py: Fix regex string literal
The checkstyle.py patch has a fault which it identified in itself when
updating the regex string.

  --- utils/checkstyle.py
  +++ utils/checkstyle.py
  #105: : W605 invalid escape sequence '\+'
  +    diff_header_regex = re.compile('@@ -([0-9]+)(,[0-9]+)? \+([0-9]+)(,?[0-9]+)? @@')
  ---
  1 potential style issue detected, please review

This is documented further at:
  https://www.flake8rules.com/rules/W605.html

Update the string literal prefix to declare a raw byte string for the
regex parser.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2020-01-07 16:05:27 +00:00
..
hooks utils: hooks: Provide post-commit hook example to checkstyle.py 2019-01-30 10:57:37 +00:00
ipu3 utils: ipu3: process: Configure formats on ImgU subdev pads 2018-12-11 15:58:19 +02:00
rkisp1 utils: rkisp1: Add test capture script 2019-03-29 16:39:10 +02:00
checkstyle.py utils: checkstyle.py: Fix regex string literal 2020-01-07 16:05:27 +00:00
gen-version.sh libcamera: skip auto version generation when building for Chromium OS 2019-07-11 12:22:40 +09:00
meson.build utils: ipu3: Add IPU3 raw capture unpack utility 2018-11-20 03:06:41 +02:00