Skip to content

Commit 827a1be

Browse files
committed
CI(pylint): Only run pylint once for all code
1 parent 7e32bfd commit 827a1be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/python-code-quality.yml

+6
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,16 @@ jobs:
156156
echo "$HOME/install/bin" >> $GITHUB_PATH
157157
158158
- name: Run Pylint on grass package
159+
# Until slower checks (like similarity) are reenabled, running in one step is faster
160+
if: false
159161
run: |
160162
export PYTHONPATH=`grass --config python_path`:$PYTHONPATH
161163
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH
162164
pylint --persistent=no --py-version=${{ env.MIN_PYTHON_VERSION }} --jobs=$(nproc) grass
163165
164166
- name: Run Pylint on other files using pytest
167+
# Until slower checks (like similarity) are reenabled, running in one step is faster
168+
if: false
165169
run: |
166170
pipx inject --include-apps pylint pytest
167171
pipx inject pylint pytest-pylint pytest-github-actions-annotate-failures pytest-timeout
@@ -173,6 +177,8 @@ jobs:
173177
PylintIgnore: "python/.*,gui/.*"
174178

175179
- name: Run Pylint on wxGUI
180+
# Until slower checks (like similarity) are reenabled, running in one step is faster
181+
if: false
176182
run: |
177183
export PYTHONPATH=`grass --config python_path`:$PYTHONPATH
178184
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH

0 commit comments

Comments
 (0)