summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-11-23 19:13:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-05 13:04:54 +0000
commitf7060a43995279723036c37d173f846a3613180e (patch)
tree1ca51dba885c34c24d04addde9854b25de26c4b7 /bitbake/lib/bb/server
parenteff9942d30c34a8290fa3ff5edafe32a8992c633 (diff)
downloadpoky-f7060a43995279723036c37d173f846a3613180e.tar.gz
bitbake: bitbake: BBHandler: Check tab indentation for python code
The previous check was in data.py which only can check code like "python funcname()" in the dependency chain, but there are 3 kinds of python functions: - python() - def py_funcname() - python funcname() Add the checking to BBHandler to check and warn for all of them. The warning looks like: WARNING: /path/to/recipes-core/busybox/busybox_1.29.2.bb: python should use 4 spaces indentation, but found tabs in busybox.inc, line 75 (Bitbake rev: 0cdc5b81fc1f5e5281a525a657e420ebc3bb9e90) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
0 files changed, 0 insertions, 0 deletions