Skip to content

Commit c320012

Browse files
committed
Fix exclusion of examples directory from linting in GitHub Actions
1 parent ae4a795 commit c320012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
4040
- name: Run pylint
4141
run: |
42-
pylint $(git ls-files '*.py') --disable=all --enable=missing-docstring
43-
exclude: ^examples/
42+
pylint $(git ls-files '*.py' | grep -v '^examples/') --disable=all --enable=missing-docstring
43+

0 commit comments

Comments
 (0)