From f1af5c8d9e99f4c6adc07a7b2623d19cb8850ab3 Mon Sep 17 00:00:00 2001 From: wargio Date: Wed, 6 Mar 2024 14:10:01 +0800 Subject: [PATCH] Ignore python R1737 This ignores warning 'yield from' directly instead of yielding each element one by one (use-yield-from) --- .github/workflows/linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index b162ce24f38..99766009cde 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -166,7 +166,7 @@ jobs: - name: Run pylint run: | export PATH=${HOME}/Library/Python/3.9/bin:${HOME}/Library/Python/3.10/bin:${HOME}/.local/bin:${PATH} - find . -name "*.py" | grep -v "subprojects" | grep -v "librz/bin/format/xnu/scripts/" | xargs pylint + find . -name "*.py" | grep -v "subprojects" | grep -v "librz/bin/format/xnu/scripts/" | xargs -I % pylint --disable=R1737 '%' licenses: runs-on: ubuntu-22.04