mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
Merge pull request #9293 from smlng/pr/tools/flake8
tools/flake8: fix regex in check script
This commit is contained in:
commit
5cb5717a1f
4
dist/tools/flake8/check.sh
vendored
4
dist/tools/flake8/check.sh
vendored
@ -20,7 +20,9 @@ fi
|
|||||||
: "${RIOTTOOLS:=${PWD}/dist/tools}"
|
: "${RIOTTOOLS:=${PWD}/dist/tools}"
|
||||||
. "${RIOTTOOLS}"/ci/changed_files.sh
|
. "${RIOTTOOLS}"/ci/changed_files.sh
|
||||||
|
|
||||||
FILES=$(FILEREGEX='(?=*.py$|pyterm$)' changed_files)
|
EXCLUDE='^(.+/vendor/|dist/tools/cc2538-bsl|dist/tools/mcuboot|dist/tools/uhcpd)'
|
||||||
|
FILEREGEX='(\.py$|pyterm$)'
|
||||||
|
FILES=$(FILEREGEX=${FILEREGEX} EXCLUDE=${EXCLUDE} changed_files)
|
||||||
|
|
||||||
if [ -z "${FILES}" ]
|
if [ -z "${FILES}" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user