Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 01c3fda

Browse files
committed
update pep8.yml to check only for .py files
1 parent 8339a37 commit 01c3fda

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/pep8.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- name: Check style
2626
run: |
27-
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
28-
pycodestyle --first $file
27+
for file in ${{ steps.changed-files.outputs.all_changed_files }};
28+
do if [[ $file == *.py ]];
29+
then pycodestyle --first $file
2930
done

0 commit comments

Comments
 (0)