Ignore python R1737

This ignores warning 'yield from' directly instead of yielding
each element one by one (use-yield-from)
This commit is contained in:
wargio 2024-03-06 14:10:01 +08:00 committed by Giovanni
parent d6fc5845aa
commit 0de960d891

View file

@ -165,7 +165,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