Skip to content

Commit 46c2108

Browse files
authored
Merge pull request #17 from brianhlin/fixup-python-linters
Fix broken python file list generation
2 parents 537ae9f + 573019e commit 46c2108

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/python-linters.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
outputs:
99
filelist: ${{ steps.python-files.outputs.filelist }}
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- id: python-files
1313
run: |
14-
echo "filelist=:$(find . -type f -exec awk ' /^#!.*python/{print FILENAME} {nextfile}' {} + | tr '\n' ' ')" >> $GITHUB_OUTPUT
14+
echo "filelist=$(find . -type f -exec awk ' /^#!.*python/{print FILENAME} {nextfile}' {} + | tr '\n' ' ')" >> $GITHUB_OUTPUT
1515
1616
pylint:
1717
runs-on: ubuntu-20.04
@@ -69,5 +69,4 @@ jobs:
6969
env:
7070
PYTHON_FILES: ${{ needs.python-files.outputs.filelist }}
7171
run: | # Change PYTHONPATH for different repo
72-
export PYTHONPATH=$PYTHONPATH:$PWD/src/scripts
7372
flake8 --select F $PYTHON_FILES

0 commit comments

Comments
 (0)