Skip to content

Commit b207c9e

Browse files
committed
scriptcheck.yml: added missing files to Python syntax and lint check
1 parent 747cb0a commit b207c9e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/scriptcheck.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ jobs:
9898
- name: run pylint
9999
if: matrix.python-latest
100100
run: |
101-
pylint --jobs $(nproc) addons/*.py htmlreport/cppcheck-htmlreport htmlreport/*.py tools/*.py
101+
shopt -s globstar
102+
pylint --jobs $(nproc) addons/**/*.py htmlreport/cppcheck-htmlreport htmlreport/**/*.py test/**/*.py tools/**/*.py
102103
103104
- name: check .json files
104105
if: matrix.python-latest
@@ -112,10 +113,12 @@ jobs:
112113
113114
- name: check python syntax
114115
run: |
115-
python -m py_compile addons/*.py
116+
shopt -s globstar
117+
python -m py_compile addons/**/*.py
116118
python -m py_compile htmlreport/cppcheck-htmlreport
117-
python -m py_compile htmlreport/*.py
118-
python -m py_compile tools/*.py
119+
python -m py_compile htmlreport/**/*.py
120+
python -m py_compile test/**/*.py
121+
python -m py_compile tools/**/*.py
119122
120123
- name: compile addons
121124
run: |

0 commit comments

Comments
 (0)