Skip to content

Commit 695abd4

Browse files
Update ci.yml
1 parent 0b5530d commit 695abd4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ jobs:
2929
python-version: ${{ matrix.python-version }}
3030

3131
- name: Install dependencies
32-
run:
33-
python -m pip install --upgrade pip
34-
pip install flake8
35-
- name: Lint with flake8
36-
run:
37-
# stop the build if there are Python syntax errors or undefined names
38-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32+
run: |
33+
python -m pip install --upgrade pip
34+
pip install flake8
35+
36+
- name: Lint with flake8
37+
run: |
38+
# stop the build if there are Python syntax errors or undefined names
39+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
40+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
41+
flake8 . --count --exit-zero --max-complexity=10
4142
4243
deploy:
4344
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)