Skip to content

Commit

Permalink
only lint python files
Browse files Browse the repository at this point in the history
  • Loading branch information
reepoi committed Jun 26, 2023
1 parent 3513b52 commit 0023272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: echo CHANGED_FILENAMES="$(gh pr view --repo pvlib/pvlib-python ${{ env.PR_NUMBER }} --json files -q '.files[].path' | xargs)"
run: echo CHANGED_FILENAMES=$(gh pr view --repo pvlib/pvlib-python ${{ env.PR_NUMBER }} --json files -q '.files[].path | select(endswith(".py")')
>> ${{ github.env }}
- name: Run Flake8 linter
run: flake8
Expand Down

0 comments on commit 0023272

Please sign in to comment.