Skip to content

Commit cf0f3c9

Browse files
authoredMay 10, 2024··
Re-enable linting but only for geoclaw
1 parent 2181d25 commit cf0f3c9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
 

‎.github/workflows/testing.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ jobs:
4141
run: |
4242
cd geoclaw
4343
git checkout ${{ github.ref }}
44-
# - name: Lint with flake8
45-
# run: |
46-
# # stop the build if there are Python syntax errors or undefined names
47-
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
48-
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
49-
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
44+
- name: Lint with flake8
45+
run: |
46+
cd geoclaw
47+
# stop the build if there are Python syntax errors or undefined names
48+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
49+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
50+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
5051
- name: Test with pytest
5152
run: |
5253
cd geoclaw

0 commit comments

Comments
 (0)
Please sign in to comment.