zephyr/scripts/ci
Martí Bolívar 6fe3c30af7 scripts: check_compliance: fix filter_py edge case
The filter_py() function is handed a bunch of file names and is
expected to give back just the python files.

Its input is the output from a 'git diff' command which normally when
used in the vanilla zephyr repository just prints regular files.

In situations where we're checking compliance on a repository with
submodules, however, filter_py() can be given directories in the
'fnames' list from the git output.

In the interests of being defensive and sharing infrastructure, just
handle this case in filter_py().

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-08-05 16:14:12 +02:00
..
check_compliance.py scripts: check_compliance: fix filter_py edge case 2021-08-05 16:14:12 +02:00
errno.py ci: Add an errno.h check to CI 2021-05-17 09:11:15 -04:00
get_twister_opt.py ci: Add twister tag support to get_twister_opt 2021-06-15 11:39:23 -04:00
guideline_check.py ci: disable identifier_length scripts for now 2021-05-06 14:45:03 -04:00
pylintrc ci: pylint: relax similar lines rule 2021-04-13 16:33:18 -05:00
run_ci.sh run_ci.sh: Fix setting of twister_exclude_tag_opt 2021-06-16 16:00:06 -05:00
tags.yaml ci/tags.yaml: Add entries for a few different tags 2021-06-24 12:38:57 -05:00
twister_ignore.txt ci: pylint: relax similar lines rule 2021-04-13 16:33:18 -05:00
version_mgr.py test_version: update tset version with 12 digits 2021-01-10 17:00:17 -05:00
what_changed.py ci: rename sanitycheck -> twister 2020-12-11 14:13:02 -05:00