Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajer committed Jun 2, 2024
1 parent e21be2c commit 0b0c7ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Set pythonpath
run: |
echo "-----pwd-----"
pwd
PWD=$(pwd)
export PYTHONPATH=$PWD/app:$PYTHONPATH
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
- name: Analysing the code with pylint
run: |
export PYTHONPATH=/app
pylint $(git ls-files '*.py')

0 comments on commit 0b0c7ba

Please sign in to comment.