Skip to content

Commit 7324359

Browse files
committed
Remove extraneous ':', modifications to PYTHONPATH
Ran into the following issue: ./group_fixup.py:1:0: F0001: No module named :./group_fixup.py (fatal)
1 parent 537ae9f commit 7324359

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/python-linters.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
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)