another way
@@ -26,4 +26,4 @@ jobs:
pip install -r elkserver/docker/redelk-base/redelkinstalldata/scripts/requirements.txt
- name: Analysing the code with pylint
run: |
- for x in elkserver/docker/redelk-base/redelkinstalldata/scripts/**/*.py; do echo pylint $x; PYLINTRC=$(pwd)/elkserver/docker/redelk-base/redelkinstalldata/scripts/.pylintrc pylint $x; done
\ No newline at end of file
+ find elkserver/docker/redelk-base/redelkinstalldata/scripts -name '*.py' -print0 | xargs -0 -i sh -c 'echo pylint {}; PYLINTRC=$(pwd)/elkserver/docker/redelk-base/redelkinstalldata/scripts/.pylintrc pylint {}'
