Skip to content

Commit 0b5530d

Browse files
Update ci.yml
1 parent 003ef93 commit 0b5530d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

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

3131
- name: Install dependencies
32-
run: pip install -U tox-travis
33-
34-
- name: Run tests
35-
run: tox
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
3641

3742
deploy:
3843
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)